function rgbToHex rgbToHex(r: number,g: number,b: number,): string Converts an RGB color to a HEX color. Parameters r: number Red component (0-255) g: number Green component (0-255) b: number Blue component (0-255) Return Type string HEX color string