Color Picker
Pick and convert colors.
OpenOne color in, seven formats out, ready to copy individually or as a block.
Paste HEX, rgb(), rgba(), hsl() or hsla(), or use the picker.
HEX, RGB, RGBA, HSL, HSV, OKLCH and CMYK update together.
Click any table cell to copy that format.
Copy All grabs every format as labeled lines.
You are documenting a design system, and every token needs HEX for designers, HSL for the CSS variables and OKLCH for the new theme work. Paste the color once and copy all seven notations as a single block for the docs.
The converter reads three kinds of input in the HEX box: hex codes (3, 6 or 8 digits), rgb() or rgba(), and hsl() or hsla(), with either commas or spaces between values. A bare "r, g, b" list works too. From that it calculates HEX, RGB, RGBA, HSL, HSV, OKLCH and CMYK. Click any cell in the table to copy that value, or press Copy All to grab every format as labeled lines, which pastes neatly into a style guide or a pull request description.
HSV and CMYK appear only as outputs, so typing hsv() or cmyk() into the box will not be recognized. HSL and HSV values are rounded to whole numbers, which means converting an HSL value back can land a shade away from the original hex. Keep the hex or RGB value as your source of truth. CMYK is a plain mathematical conversion without a printer profile, a starting point for print work rather than a proof.
Need lighter and darker steps of the same color for a token scale? The tint and shade generator produces them. To browse the other color utilities, visit the color tools hub. Every conversion is computed in the page.
Keyboard shortcut
Answers for this tool. For site-wide help, open the FAQ hub.
No. Those two are output only. Enter the color as HEX, RGB or HSL to see its CMYK and HSV values.
HSL values are rounded to whole degrees and percentages, so a little precision is lost. Use the original HEX or RGB value as the reference.
Yes. Spaces and commas both work as separators, and the alpha after a slash can be a decimal or a percentage.