Accepts CSS names, HEX, rgb() and hsl(), including alpha. Wide-gamut formats and stylesheet expressions such as var() are not supported.
Learn
History for this tool
The most recent data you entered in this tool, stored only in this browser.
Save what you type here, in this browser? Your work would go into this browser's local storage, so a refresh or a trip to another tool does not wipe it. You also get a short list of previous entries under the form, each one restorable with a click. Nothing is ever uploaded, and there is no account.
Being straight about the trade-off: anything kept there can be read by anyone who can use this browser profile, and by any script that later runs on this site. A tool page can hold a private key, a password or a signed token. Saving is convenient; it is not private.
Saved on this device
Your inputs and history are stored locally.
Not saved
This page forgets your work when you leave it.
About this tool
Convert a colour to HEX, RGB, RGBA, HSL and approximate CMYK as you type. Accepts CSS colour names, shorthand HEX, RGB and HSL syntax, including alpha channels.Questions
- Why is the CMYK value approximate?
- CMYK describes ink on paper and depends on the printer profile. The value here is the standard naive conversion, which is a reasonable starting point but not something to send to a print house.
- Does HSL use degrees?
- Yes. Hue describes a position around a colour wheel, from 0 to 360 degrees. Saturation and lightness are shown as percentages.