Color tools

Tools for picking and using colors on screen: convert a color between every CSS notation, check that text is readable on its background, build a palette that goes with one color, browse the 148 CSS color names, and make smooth gradients with the CSS to copy.

Color Contrast Checker

Pick a text color and a background to get their contrast ratio and whether it passes WCAG AA and AAA for normal text, large text and interface parts. If it fails, the tool suggests the closest color of the same hue that passes.

Color Converter

Type or pick a color in any CSS notation and copy it as HEX, RGB, HSL, HWB, OKLCH, OKLab or CMYK. Also shows the closest CSS color name and whether white or black text reads better on it.

Color Palette Generator

Start from one color and get the colors that go with it, using the classic color-wheel schemes or a light-to-dark scale. The hues are turned in OKLCH, so the colors look evenly matched in lightness. Copy each color or the whole palette as CSS.

CSS Color Names

Browse all 148 colors that CSS knows by name, from aliceblue to yellowgreen, sorted by hue, name or lightness. Search by name or hex code, and click a color to copy its name or its value in HEX, RGB, HSL or OKLCH.

CSS Gradient Generator

Pick up to six colors, the gradient shape and the angle, and copy the CSS. Choose how the colors blend: OKLab and OKLCH keep the middle of the gradient bright, while plain sRGB, the old default, can turn it muddy or gray.