Skip to content

color object

Information about a color.

When the liquid engine encounters an invalid Hex6 or Hex8 (RGBA) color value, it defaults to #000000FF.

Properties


NameTypeDescription
hexstringColor Hex
rednumberThe red component of the color, which is a number between 0 and 255.
greennumberThe green component of the color, which is a number between 0 and 255.
bluenumberThe blue component of the color, which is a number between 0 and 255.
alphanumberThe alpha component of the color, which is a decimal number between 0.0 and 1.0.
huenumberThe hue component of the color, which is a number between 0 and 360.
staturationnumberThe saturation component of the color, which is a number between 0 and 100.
lightnessnumberThe lightness component of the color, which is a number between 0 and 100.