Color Palette Generator
Start from a seed color, or extract colors from a photo, and build a harmonious palette in this tab. Complementary, analogous, triadic, and related schemes are computed in OKLCH. Nothing is uploaded.
Input
Result
How to use Color Palette
- Choose a seed colorType a CSS color such as #2563EB, use the color well, or open an image to extract its main colors and use one as the seed.
- Choose the output shapePick a scheme such as analogous, complementary, or triadic. Number of colors applies to analogous, monochromatic, shades, and tints.
- Copy or downloadCopy CSS variables, JSON, or a list of HEX values. Click a swatch to copy that color.
Limits and how it works
- Images you open are limited to 5 MB and are sampled at a reduced resolution.
- Hue schemes use fixed intervals. Number of colors only changes analogous, monochromatic, shades, and tints (3 to 8 colors).
- Out-of-gamut colors are clamped to sRGB, so some hue shifts may look slightly less vivid than the theoretical OKLCH color.
- A palette is a starting point, not an accessibility check. Contrast between two colors can be measured in Color Converter.
How these palettes are built
This page uses culori 4.0.2 (MIT) from the official package, unmodified, and imports the tree-shakeable culori/fn build. culori is already a dependency of other site tooling; this tool adds it as a direct dependency. It is not Color Converter, which converts HEX, RGB, HSL, and related formats, and it is not Color Picker from Image, which samples a pixel and can also extract a photo’s main colors.
Harmonies follow classic color-wheel intervals: complementary 180°, analogous about ±30°, triadic 120°, tetradic 90°, and split complementary 150° and 210°. Those hue shifts are applied in the OKLCH space described by CSS Color Module Level 4, then clamped into the sRGB gamut so each swatch has a HEX value you can copy. Shades and tints keep the same hue and change lightness; monochromatic palettes spread lightness across a range.
If you open a photo, the image is drawn to a canvas and quantized with a median-cut algorithm in this tab. The extracted colors are starting points, not a full replacement for Color Picker from Image. Swatches are ordinary colored elements; the image is never inserted into the page as live markup.
Frequently asked questions
Is my color or image uploaded?
No. Everything runs in your browser tab with JavaScript. Nothing you type, paste, or open is sent to a server, logged, or stored by ALink Tools.
Is this the same as Color Picker from Image?
No. Color Picker from Image is for sampling a pixel and reading HEX, RGB, and related values, and it can extract a photo’s main colors. This page builds harmony palettes from a seed color and can optionally extract colors to use as that seed.
Is this the same as Color Converter?
No. Color Converter changes a color from one format to another and can check contrast. This page generates a set of related colors.
Where do the hue intervals come from?
They are the usual color-wheel relationships taught in color theory: complementary colors sit opposite, analogous colors sit nearby, and triadic and tetradic colors are evenly spaced. The hues are rotated in OKLCH, a space defined in CSS Color Module Level 4.
Related tools
All toolsColor Picker from Image
Pick HEX, RGB and HSL colors from any image or from your screen.
Color Converter
Convert colors between HEX, RGB, HSL, HSV, HWB and CMYK in your browser.
CSS Formatter
Pretty-print or minify CSS in your browser with js-beautify.
Favicon & ICO Generator
Make favicon.ico, Apple touch and PWA icons from an image or text.