Tools · Color · Color converter

Color converter

Convert a color between HEX, RGB, HSL, and OKLCH, live.

Your result appears here

Add a file and run the tool.

Settings

Adjust the settings below. The result updates as you go.

Drop a file here, or choose one.

Runs fully in your browser. Nothing is uploaded.

Runs fully in your browser. Nothing is uploaded.

How it works

  1. Enter or pick a color in any format.

  2. Read its HEX, RGB, HSL, and OKLCH values.

  3. Copy the value in the format you need.

Frequently asked questions

HEX, RGB (and RGBA), HSL (and HSLA), and OKLCH, converting between all four as you type.

A newer CSS color format built for perceptual uniformity, so equal changes in its values look like equal changes in lightness, chroma, and hue - useful for building consistent color scales.

Yes - type or paste a value with alpha (like an rgba() or hsla() color) and it carries through to every other format automatically.

No. The conversion happens entirely in your browser.

Comments

  1. No comments yet. Be the first to share your experience.
Your rating (optional)

No rating selected