Convert between HEX, RGB, HSL, HSV, and CMYK color formats instantly. Pick any color with the built-in picker and watch all format values update in real time.
Every major color format used in web design, graphic design, and print production.
The web standard. 6-character hexadecimal preceded by #. Used in CSS, HTML, and every design tool. Supports 16.7 million colors. Example: #6366F1
Red, Green, Blue channels (0-255). The native format of screens and digital cameras. CSS function: rgb(99, 102, 241)
Hue (0-360°), Saturation (0-100%), Lightness (0-100%). Intuitive for designers. Tweak lightness without shifting hue. CSS: hsl(239, 84%, 67%)
Hue, Saturation, Value (Brightness). Common in image editors like Photoshop. Value represents the brightest form of a hue rather than light/dark mix.
Cyan, Magenta, Yellow, Key (Black), the print standard. 0-100% per channel. Used in offset printing, packaging design, and professional print workflows.
Different color formats serve different purposes. Here's when to use which.
Use HEX or HSL. HEX is the most compact and universally supported format. HSL is preferred for dynamic theming because you can adjust lightness and saturation independently. Modern CSS also supports RGB with alpha via rgba() for transparent colors.
Use HSL or HSV in design tools. HSV/HSB is the native picker in Photoshop, GIMP, and Affinity. It maps naturally to how artists think about color (hue wheel + brightness). HSL is standard in Figma, Sketch, and browser DevTools color pickers.
CMYK is the only format that matters for print. Converting from RGB/HEX to CMYK is an approximation, some bright screen colors cannot be reproduced in print. Always preview CMYK values before sending artwork to a commercial printer. For color-critical print work, use a physical Pantone swatch book.
Game engines typically use RGB with float values (0.0-1.0) or HEX. Unity and Unreal accept HEX strings, while shader code uses normalized RGB vectors. HSL can be useful for procedural color generation in shaders.
More free color tools for designers and developers.
#6366F1 means red=99 (63 hex), green=102 (66), blue=241 (F1). The converter also accepts 3-character shorthand HEX like #F00 for #FF0000. The input is case-insensitive.