Function: rgbToHex()
rgbToHex(
r,g,b):string
Converts RGB color values to a hexadecimal color string.
Parameters
• r: any
The red component value (0-255).
• g: any
The green component value (0-255).
• b: any
The blue component value (0-255).
Returns
string
The hexadecimal color string representation.