1. Input cleanup
Hex input is trimmed, normalized, and expanded if needed. Invalid entries do not break the page, and the last valid palette remains visible until the input is corrected.
Generator family
Start with one color, pick a harmony rule, and generate a palette you can actually use in interfaces, illustrations, decks, and brand systems. Every result includes readable HEX, RGB, HSL, CSS variables, and JSON output.
Use a base color and tune how far the palette moves in hue, saturation, and lightness. The generator clamps values safely, wraps hue at 360 degrees, and rounds export values to whole RGB numbers and one decimal place for HSL percentages.
The preview strip shows the palette as a left-to-right sequence. Each swatch includes a contrast recommendation for foreground text against that specific color.
Use the format selector to switch between CSS custom properties and JSON. Copy actions are disabled only if the browser clipboard API is unavailable.
The generator converts the base hex color to HSL, applies hue intervals based on the selected harmony rule, then adjusts saturation and lightness across the palette according to the spread value.
Hex input is trimmed, normalized, and expanded if needed. Invalid entries do not break the page, and the last valid palette remains visible until the input is corrected.
Hue values wrap around the color wheel. Saturation and lightness are clamped between 0 and 100 to prevent invalid color output.
Exports include naming, rounded values, and stable ordering so the output can drop directly into design tokens, quick prototypes, or style sheets.