Color Converter Color
Convert a color between HEX, RGB, HSL, HSV and CMYK.
Color Converter is a free online tool that convert a color between HEX, RGB, HSL, HSV and CMYK. It runs entirely in your web browser using plain JavaScript, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.
- Price
- Free — no account, no quota, no watermark
- Category
- Color
- Where it runs
- In your browser, on your device
- Files uploaded
- None
- Technology
- plain JavaScript
- Settings
- 2
- Works offline
- Yes, after the first visit
About Color Converter
HEX, RGB, HSL and HSV describe the same sRGB colors in different coordinate systems, and each is better at a different job. HSL is the one to reach for when generating a palette: hold hue and saturation, vary lightness, and you get a coherent set of tints and shades. RGB is nearly useless for that, because changing "how light" a color is means moving all three channels together by an amount that depends on the hue.
How to use it
- Enter color and or type a hex code.
- Results update the moment anything changes.
The 2 settings
| Setting | What it does | Default |
|---|---|---|
| Color | A color, picked from your system color picker. | #FFD84D |
| Or type a hex code | For example: #FFD84D | — |
Under the hood
| Runs on | plain JavaScript — runs the whole thing |
| Controls | Color, Or type a hex code |
Questions
What is the difference between HSL and HSV?
The lightness axis. In HSL, 50% lightness is the pure hue and 100% is white. In HSV, 100% value is the pure hue and there is no white without dropping saturation. HSL suits palette work; HSV suits color pickers.
Do these conversions lose accuracy?
HEX and RGB are exact — same numbers, different notation. HSL and HSV involve floating-point maths, so a round trip can shift a channel by one unit out of 255, which is imperceptible.