HEX ↔ RGB ↔ HSL ↔ HSV ↔ CMYK
Paste any color in hex, rgb(), rgba(), or hsl() and get it in every other format instantly. Includes a live swatch and a native color picker.
- HEX
#4f46e5 - RGB
rgb(79, 70, 229) - HSL
hsl(243, 75%, 59%) - HSV
hsv(243, 69%, 90%) - CMYK
cmyk(66%, 69%, 0%, 10%)
How to use
- 1Paste any color
Hex, rgb(), rgba(), hsl(), or hsla() — the tool auto-detects the format.
- 2Or pick from the swatch
The native color picker opens next to the input for visual browsing.
- 3Read every other format
All conversions appear at once. Each has its own copy button.
- 4Share via URL
The address bar updates as you edit. Copy and send — the recipient sees the same color.
Examples
#6366f1
RGB: rgb(99, 102, 241) · HSL: hsl(239, 84%, 67%) · HSV: hsv(239, 59%, 95%)
rgba(0, 0, 0, 0.5)
HEX: #00000080 · HSL: hsl(0, 0%, 0%) · HSLA alpha: 0.5
hsl(120, 100%, 50%)
HEX: #00ff00 · RGB: rgb(0, 255, 0)
Frequently asked
Hex (3, 4, 6, or 8 digit), rgb() and rgba(), and hsl() and hsla(). Output includes all of those plus HSV and CMYK.
The tool uses the simple mathematical RGB → CMYK conversion. Real-world printing uses ICC color profiles that account for ink, paper, and press — always convert final artwork in a proper design tool like Photoshop or Illustrator before sending to print.
The URL updates as you edit — copy the address bar and share the link. Whoever opens it sees the exact same color and all its conversions.
Related tools
- Color Blindness SimulatorSimulate how your colors look to people with color vision deficiency (CVD). Cove
- Color Harmony GeneratorGenerate a palette from any base color using 7 classic color-theory schemes: com
- Contrast CheckerTest any foreground/background color pair against WCAG 2.2 contrast rules. Shows
- CSS Color NamesBrowse all 147 CSS3 named colors. Look up a color name from a hex code, or find
- CSS Gradient GeneratorDesign linear, radial, and conic CSS gradients with unlimited color stops. Live