Skip to content

Types

Every property and every expression has a type: color, length, or brush.[sls.type.kinds]

A color is a color with red, green, blue, and alpha channels. The default color is transparent.[sls.type.color]

A length is a distance. The default length is zero.[sls.type.length]

A brush defines the content that an element is filled with. The default brush is transparent.[sls.type.brush]

An expression whose type isn’t the type of the property only binds to it if one of the conversions in this section applies.[sls.type.conversions]

A color converts to a brush: the brush that fills with that single color.[sls.type.convert.color-to-brush]


© 2026 SixtyFPS GmbH