Pick a color, or edit a value below
Convert a color between HEX, RGB, HSL, CMYK and HSV, with a live preview swatch and the closest CSS color name. Edit any format or use the picker — the rest update instantly.
Three steps, all in your browser.
Type a value into the HEX, RGB or HSL field, or click the color picker to choose one visually. The preview swatch shows the current color at all times.
Whichever field you edit, the other two update instantly — HEX, RGB and HSL stay in sync. Need to convert measurements next? Try the Unit Converter.
Each format has its own copy button, so you can grab the exact code for your CSS or design file. Working with text? The Case Converter is one tab away.