| Format | Example (Purple) | Used In |
|---|---|---|
| HEX | #7C3AED | CSS, HTML, Figma, Sketch, Canva |
| HEX 8-digit (HEXA) | #7C3AED80 (50% opacity) | CSS, modern design tools |
| RGB | rgb(124, 58, 237) | CSS, JavaScript, design apps |
| RGBA | rgba(124, 58, 237, 0.5) | CSS transparency effects |
| HSL | hsl(262, 84%, 58%) | CSS, theme design systems |
| HSLA | hsla(262, 84%, 58%, 0.5) | CSS with opacity |
| HSV / HSB | hsv(262, 75%, 93%) | Photoshop, Illustrator color picker |
| CMYK | C:48 M:76 Y:0 K:7 | Print design, offset printing |
| CSS Named Color | blueviolet | CSS (limited 140-color set) |
Type or paste any color value you have — a HEX code, RGB values, HSL string, or even a CSS named color like "tomato" or "steelblue".
The tool automatically detects what format you've entered. No need to select the input format manually — it recognizes HEX, rgb(), hsl(), cmyk() patterns instantly.
All equivalent color values appear immediately — HEX, HEXA, RGB, RGBA, HSL, HSLA, HSV, and CMYK — with a live color swatch preview.
Click the copy icon next to any format to copy just that value to your clipboard — ready to paste into CSS, Figma, Photoshop, or print software.
Always use HEX or RGB for digital design — websites, apps, presentations. These formats are meaningless in print and must be converted to CMYK first.
When sending designs to a printer, always specify CMYK values. RGB colors that look vivid on screen may appear dull in print because the CMYK gamut is smaller.
HSL is the best format for building CSS design systems and dark mode themes. Adjusting just the L (lightness) value creates tints and shades of the same color systematically.
When you need a semi-transparent color in CSS, use rgba() — e.g. rgba(124, 58, 237, 0.3) gives 30% opacity purple. You can also use hsla() for the same effect.