🎨

Color Converter

Convert an opaque sRGB color between HEX, RGB and HSL; CMYK is an approximate formula.

RGB
HSL
CMYK

Method

Convert opaque gamma-encoded sRGB through one quantization to RGB8. HEX accepts exactly 3 or 6 digits, optionally #; alpha is unsupported. RGB requires whole numbers and clamps to 0–255 with notice. HSL hue wraps modulo 360; S/L and CMYK clamp to 0–100. Active drafts remain editable; blur normalizes valid values. Red #FF0000 gives RGB 255,0,0 and HSL 0,100,50. Summaries show at most two decimals; achromatic hue is undefined and displayed as 0. HSV and naive CMYK are numeric model notation, not CSS functions, ICC print matching or contrast certification.

Copied

Copy failed. Select the result and copy it manually.

Embed this tool on your website

Use whole pixel dimensions from 1 to 4096.

× px (1–4096)

                        

💡 Integration Tip

Copy the embed code and paste it into your website HTML. The responsive version adapts to all screen sizes automatically.

3.3
3 ratings
✓

About Color Converter

Convert an opaque sRGB color between HEX, RGB and HSL; CMYK is an approximate formula.

#FF0000 → RGB 255,0,0; HSL 0,100,50

Model · sRGB8

Use Cases

Convert opaque gamma-encoded sRGB through one quantization to RGB8.
Convert opaque gamma-encoded sRGB through one quantization to RGB8.
Convert opaque gamma-encoded sRGB through one quantization to RGB8.
Convert opaque gamma-encoded sRGB through one quantization to RGB8.
Convert opaque gamma-encoded sRGB through one quantization to RGB8.

How to use

1

Pick a shade with the swatch under Pick a color, or type a value such as #3B82F6 into the hex field beside it.

2

Edit the R, G and B boxes on the RGB card, each accepting 0 to 255; every other format recalculates instantly.

3

Change H from 0 to 360 plus S% and L% on the HSL card when you want to adjust hue, saturation or lightness directly.

4

Type C, M, Y and K percentages into the CMYK card if you are matching a value from a print spec.

5

Read the All Color Values panel at the bottom for HEX, RGB, HSL, HSV/HSB and CMYK side by side.

6

Copy · HEX / RGB / HSL / CMYK · Convert opaque gamma-encoded sRGB through one quantization to RGB8. HEX accepts exactly 3 or 6 digits, optionally #; alpha is unsupported. RGB requires whole numbers and clamps to 0–255 with notice. HSL hue wraps modulo 360; S/L and CMYK clamp to 0–100. Active drafts remain editable; blur normalizes valid values. Red #FF0000 gives RGB 255,0,0 and HSL 0,100,50. Summaries show at most two decimals; achromatic hue is undefined and displayed as 0. HSV and naive CMYK are numeric model notation, not CSS functions, ICC print matching or contrast certification.

Pro Tips

  • HSV and naive CMYK are numeric model notation, not CSS functions, ICC print matching or contrast certification.

Frequently Asked Questions

Summaries show at most two decimals; achromatic hue is undefined and displayed as 0. HSV and naive CMYK are numeric model notation, not CSS functions, ICC print matching or contrast certification.

Convert opaque gamma-encoded sRGB through one quantization to RGB8. HEX accepts exactly 3 or 6 digits, optionally #; alpha is unsupported. RGB requires whole numbers and clamps to 0–255 with notice. HSL hue wraps modulo 360; S/L and CMYK clamp to 0–100. Active drafts remain editable; blur normalizes valid values. Red #FF0000 gives RGB 255,0,0 and HSL 0,100,50.

Popular Tools

No more tools to show
Explore All Tools
FreeWebTools AI