- Enter #abc, #aabbcc, rgb(170,187,204), or hsl(210,25%,73%).
- Click Convert, or choose a color with the picker.
- For a batch, enter one color per line; the batch takes priority over the single field.
- Copy the displayed values.
Convert an opaque screen color
This converter accepts three- or six-digit HEX, comma-separated integer RGB channels from 0 to 255, and comma-separated HSL with percentage saturation and lightness from 0 to 100. HEX may include the # prefix. HSL hue wraps around the color wheel: -120 and 240 describe the same hue. The preview and conversions use rounded 8-bit RGB channels.
Supported input matters
For example, #f00 becomes #ff0000, rgb(255, 0, 0), and hsl(0, 100%, 50%). Named colors, alpha transparency, four- or eight-digit HEX, rgba(), modern space-separated CSS syntax, and CMYK input are not supported. Unsupported input is rejected instead of silently dropping alpha. In batch mode invalid lines are marked individually.
CMYK is an estimate
The CMYK percentages use a simple mathematical conversion without an ICC profile, printer, paper or ink model. They are useful for rough comparison, not print proofing. HSL and CMYK percentages are rounded, so converting rounded output back can slightly change the color. This tool does not measure contrast or guarantee accessibility. Use the color picker to explore colors or the palette generator for related shades.