TinyTools

Runs in this tab · no upload · no account · free

Color converter

Convert between HEX, RGB and HSL as you type. See the colour, its contrast against white and black, and copy any format.

Questions

What do the contrast numbers mean?

They are WCAG contrast ratios. 4.5:1 is the minimum for normal text, 3:1 for large text. Below that, text gets hard to read.

Why does HSL look different from RGB?

HSL is a different way of describing the same colour: hue in degrees, saturation and lightness in percent. Same pixels.

Can I paste colors from design tools?

Yes — paste #3b82f6, rgb(59,130,246) body text or 217, 91%, 60% into any box and the others update.

Other tools

JSON formatter and validator · QR code generator · CSV ↔ JSON converter · Base64 encode and decode · Text tools · Unix timestamp converter