Skip to content
Get the free beta

Generate a color scale from a hex color.

Generate a 13-stop lightness scale from an opaque sRGB hex color. Keep your exact input color and inspect contrast in the grid.

Free. No account. The color math runs entirely in your browser.

How to Use It

Enter a base color to generate 13 stops from white (0) to black (1000). The outlined stop preserves your exact input. Very light or dark inputs may produce duplicate stops. Agents: open JSON controls or read the automation reference for HTTP, CLI and MCP access.

1. Enter a hex

Type or paste a three- or six-digit hex color, then choose Add Scale. You can keep up to 20 scales.

2. Review the scale

Open the Contrast Grid to compare text and background stops. Reorder scales by dragging or using their Up and Down buttons.

3. Export it

Copy a stop or a scale as CSS variables. Copy link preserves all input colors and their order. CSS prefixes use the seed hex and stay stable when scales are added or reordered.