kcl-std → functions → appearance::hexString

appearance::hexStringFunction in std::appearance

Build a color from its red, green and blue components. These must be between 0 and 255.

Arguments

NameTypeDescriptionRequired
rgb[number(_); 3]The red, blue and green components of the color. Must be between 0 and 255.Yes

Returns

string - A sequence of characters

Examples

Found a typo?