RGB to HEX color converter

Converts a color from RGB to HEX.
Result in HEX format:
Result palette: