system.kanoa.utilities.RGBtoHex
Description
Converts RGB color value to HEX value (kanoaCore).Syntax
RGBtoHex(red, green, blue)- red (Int) - The red component of the RGB color.
- green (Int) - The green component of the RGB color.
- blue (Int) - The blue component of the RGB color.
- hexColor (String) - The HEX color value.
Code Example
# Example Usage:
hex_color = system.kanoa.utilities.RGBtoHex(255, 0, 0)