Color
object
Attributes
color.alpha
number
The alpha component of the colour; a decimal number between 0.0 and 1.0.
color.blue
number
The blue component of the colour; a number between 0 and 255.
color.green
number
The green component of the colour; a number between 0 and 255.
color.hex
string
The Hex value of the colour. e.g. #005ce6
When possible, use
color.rgba
overcolor.hex
. The site builder’s colour picker allows Creators to select an opacity; RGBA values in CSS will include a colour’s opacity, whereas Hex values will ignore it.
color.red
number
The red component of the colour; a number between 0 and 255.
color.rgba
string
The RGBA value of the colour that can be used directly in CSS. e.g. rgba(187, 207, 207, 1)