Skip to main content

system.kanoa.utilities.RGBToHex(red, green, blue)

Converts RGB color value to HEX value


Parameters

red Integer: Red component 0 to 255
green Integer: Green component 0 to 255
blue Integer: Blue component 0 to 255


Returns

hexValue String


Example

print system.kanoa.utilities.RGBToHex(255, 0, 0)
>>>
#ff0000