# Color Converter

Convert colors between HEX, RGB, HSL and more.

## URL

https://ilham.dev/tools/color-converter/

## What It Does

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.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Why is the CMYK value approximate?
- Does HSL use degrees?




## 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.

