The "color_get_hex" Function

Syntax#

color_get_hex(color);
ArgumentTypeDescription
colorcolorAn RGB color to convert to Hex

Description#

Returns a Hex color code as a string from an RGB color.

Example#

color = color_get_hex(c_red);