The color object
The color
object is returned from color type settings, and has the following attributes:
color.alpha
Anchor link to section titled "color.alpha"Returns the alpha component of the color, which is a decimal number between 0 and 1.
Returns the blue component of the color, which is a number between 0 and 255.
color.green
Anchor link to section titled "color.green"Returns the green component of the color, which is a number between 0 and 255.
Returns the hue component of the color, which is a number between 0 and 360.
color.lightness
Anchor link to section titled "color.lightness"Returns the lightness component of the color, which is a number between 0 and 100.
Returns the red component of the color, which is a number between 0 and 255.
color.saturation
Anchor link to section titled "color.saturation"Returns the saturation component of the color, which is a number between 0 and 100.