Color Converter

Plain numbers with % are read as HSL. For HSV, choose HSV or write hsv(…). XYZ, LAB and LCH need the format chosen or written as lab(…).

#FF5733
FormatValueCopy
HEX#FF5733
RGB255, 87, 51
HSL11°, 100%, 60%
HSV11°, 80%, 100%
CMYK0%, 66%, 80%, 0%
XYZ45.25, 28.32, 6.22
LAB60.18, 62.06, 54.34
LCH60.18, 82.49, 41.20

About This Tool

How to Use
  1. Type a color value, or pick one with the color picker
  2. The input format is detected automatically; choose it in the list for HSV, XYZ, LAB or LCH
  3. Every format updates as you type, next to a live swatch
  4. Click Copy next to a format, or CSS to copy it in CSS syntax
Common Use Cases
  • Converting HEX colors from designs to RGB for CSS
  • Translating print CMYK values to web-safe colors
  • Finding HSL equivalents for color manipulation in code
  • Converting between design tool and development formats
Tips & Tricks
  • HEX is most common in web development, RGB in graphics software
  • HSL is the most intuitive format for adjusting colors programmatically
  • Out-of-range values are rejected (RGB 0-255, percentages 0-100), and colors outside the sRGB range are clipped with a warning
  • 8-digit HEX is accepted, but its alpha channel is ignored

Related Tools