Colour code converter
Got a brand colour as a HEX code but your app wants RGB โ or a designer sent HSL? This colour converterturns any colour into HEX, RGB, HSL and CMYK at once. Type a code in any format, or use the colour picker, and tap a value to copy it. It also shows the WCAG contrast against white and black text so you know which is readable, plus a strip of tints and shades for hover states and backgrounds.
How to use it
- Type a colour code (e.g. #FF9933, rgb(255,153,51) or saffron) or use the picker.
- Read every format in the table โ tap one to copy.
- Check contrast and pick a tint or shade if you need one.
Example
India-flag saffron #FF9933 is rgb(255, 153, 51), hsl(30, 100%, 60%) and roughly cmyk(0, 40, 80, 0). Black text on it has a contrast of about 10:1 โ far more readable than white (about 2:1). Build a full scheme with the colour palette generator, or take a colour from a photo with the image colour picker.