Labs

Color Converter

Enter any valid CSS color to convert instantly across HEX, RGB, HSL, HWB, CMYK, and OKLCH with opacity support.

Enter a colour
Colour -
Opacity100%
Formats -
All converted color formats appear here
Settings Lowercase hex
How It Works

How to Use Color Converter in 3 Steps

1

Enter any CSS color

Paste a hex code, rgb(), hsl(), hwb(), oklch(), or named color, or use the color picker.

2

Adjust opacity and syntax

Drag the Opacity slider to apply alpha everywhere. Toggle uppercase hex or CSS Color 4 syntax in Settings.

3

Copy single rows or JSON

Click the copy icon next to any format row, or use Download to export all color values as JSON.

FAQ

Color Converter: Frequently Asked Questions

Which CSS color formats can I paste as input?

All CSS Color Level 4 formats work: 3-to-8-digit hex, RGB, HSL, HWB, LAB, LCH, OKLAB, OKLCH, and 148 named colors.

Is the CMYK output calibrated for offset printing?

It uses standard device-independent RGB-to-CMYK math for quick reference. Use ICC print profiles in desktop layout software for press runs.

Why use OKLCH for web design systems?

OKLCH provides perceptual lightness uniformity, so equal lightness steps look evenly bright across every hue in light and dark themes.

How does 8-digit hex alpha sync work?

Pasting an 8-digit hex value like #1e88e580 sets the Opacity slider automatically and updates alpha across every output format.

Is my input sent to a server?

No. JavaScript computes everything inside your browser tab. Toolity uploads, logs, or stores nothing.

Toolity Labs

Explore All Labs Tools

Generate QR codes, build shareable links, convert units, and run everyday browser utilities.

Copied to clipboard