PDF Tools
← Dev Tools

How to Use

1

Enter any colour

Type or paste a colour in any format — HEX (#ff6600), RGB, HSL, OKLCH, OKLab, LAB, or a named colour like rebeccapurple.

2

Convert instantly

Click Convert or press Enter. The colour preview and all format values update immediately.

3

Copy any format

Click the copy button next to any format to copy it to your clipboard for use in CSS, design tools, or code.

Supported colour formats

This tool supports conversion between six colour formats: HEX (#ff6600), RGB (rgb(255, 102, 0)), HSL (hsl(24, 100%, 50%)), OKLCH (oklch(0.6281 0.2073 46.60)), OKLab (oklab(0.6281 0.1425 0.1505)), and CIE Lab (lab(63.70 55.98 57.13)). OKLab and OKLCH are perceptually uniform colour spaces — they are the modern standard for colour interpolation, gradients, and accessibility work. Named CSS colours like rebeccapurple, crimson, and steelblue are also recognised.