Make rgbToHex public