HEX color #e1c to RGB, Pantone, RAL, HSL and HSB formats. Convert it to JSON format and generate color schemes for your design. I have to convert a color string in the format #RGB to #RRGGBB like #0af To #RRGGBB now can any one help out here using android. Convert RGB color codes to HEX HTML format for use in web design and CSS. Also converts RGBA to HEX.