HEX
Example: #00BFA5. The most common format for web colors. A six-digit code representing the mix of Red, Green, and Blue.
Instantly generate beautiful, harmonious color palettes for your designs. Press the spacebar to explore new schemes, lock your favorite colors, and copy HEX codes with a click.
A palette generator extracts color palettes from images or creates harmonious color schemes using color theory algorithms. It analyzes an image's color distribution to find dominant colors, or generates palettes from a base color using complementary, analogous, triadic, and tetradic harmony rules. This tool processes images locally using the Canvas API -- no images are uploaded.
Press spacebar to explore, lock colors you love, copy HEX codes instantly. HSL-based algorithm for vibrant, pleasant results.
Press the Spacebar to generate random color schemes. Let inspiration strike!
Find a color that fits your vision? Click the lock icon to keep it. This color will be the anchor for your palette.
Keep pressing the spacebar. The unlocked colors will change to create new combinations that work with your locked choices.
Simply click on any color's HEX code to copy it to your clipboard, ready to be pasted into your CSS, Figma, or Photoshop project.
Example: #00BFA5. The most common format for web colors. A six-digit code representing the mix of Red, Green, and Blue.
Example: rgb(0, 191, 165). Each value ranges from 0 to 255, defining the intensity of the red, green, and blue light components.
Example: hsl(174, 100%, 37%). More intuitive for humans. Hue is color type (0-360), Saturation is intensity, Lightness is brightness.
Lock colors you love and regenerate the rest. Build palettes around your favorite anchor colors.
Color palette extraction from an image involves analyzing the image's pixel data to identify the most visually significant colors. The process begins by sampling pixels from the image (not every pixel, but a representative subset for performance). Each pixel's RGB values are then quantized to reduce the number of unique colors -- this is necessary because a photograph can contain millions of subtly different colors. The quantized colors are counted to build a color histogram, and the most frequent colors are selected as the palette.
Our tool uses a median-cut quantization algorithm for palette extraction. The algorithm works by recursively dividing the color space: it finds the dimension (R, G, or B) with the greatest range of values, sorts the pixels along that dimension, and splits them at the median. This process repeats until the desired number of colors is reached. The result is a set of colors that represent the image's most distinct color regions. Each color's frequency determines its order in the palette -- the most dominant color appears first.
For generated palettes (not extracted from images), the tool uses color harmony rules based on the color wheel. Complementary: two colors opposite each other (180掳 apart). Analogous: three colors adjacent on the wheel (30掳 apart). Triadic: three colors evenly spaced (120掳 apart). Tetradic: four colors forming a rectangle on the wheel. Split-complementary: a base color plus the two colors adjacent to its complement. These rules produce visually harmonious combinations because the colors share a mathematical relationship on the color wheel.
A typical design palette includes 5 colors: a primary (dominant), a secondary (supporting), an accent (for calls-to-action and highlights), and two neutrals (light and dark backgrounds). The 60-30-10 rule suggests using the primary color for 60% of the design, the secondary for 30%, and the accent for 10%. This creates visual balance while ensuring the accent stands out. Extract palettes from images that evoke the mood you want -- a nature photo for earthy tones, a sunset for warm gradients, a cityscape for cool blues and grays.
When using extracted palettes for web design, always test the contrast ratios between text and background colors. A palette that looks beautiful as swatches may fail WCAG accessibility standards when used for text. Use the lighter colors for backgrounds and darker colors for text. If a palette color doesn't meet contrast requirements, darken or lighten it until it does -- the harmony of the palette will be preserved because the hue remains the same.
Break through creative blocks and find unique color combinations for UI design, branding, illustration, and digital art.
Quickly prototype a color scheme for your next web application. Grab HEX codes instantly without opening a heavy design tool.
Explore color theory and discover palettes for crafts, home decor, presentations, and personal projects.
Generate multiple palette options quickly to explore brand color directions before committing to a final choice.
A side-by-side comparison of popular color palette tools.
| Feature | NovaTools | Coolors.co | Adobe Color |
|---|---|---|---|
| Extract from image | Canvas API | (Adobe CC only) | |
| Harmony rules | 5 types | Explore mode | |
| Privacy (no upload) | 100% local | Server-side | Server-side |
| Export HEX/RGB/HSL | All formats | ||
| No registration | (for save) | Required | |
| Works offline |
Server-based palette tools process your images and color choices on their servers. Our tool extracts palettes using the Canvas API and generates harmonies using local color theory algorithms -- all in your browser.
This tool runs entirely in your browser using standard JavaScript math for HSL color generation and the Clipboard API for copying HEX codes.
Your logo is a goldmine of color information. Learn how to extract key colors from your logo and expand them into a full, versatile brand palette for your website, social media, and marketing materials.
Learn the difference between HEX, RGB and HSL color formats, when to use each, how to convert between them, and CSS tips like color-mix.
Learn the fundamentals of web accessibility and color contrast. Understand WCAG ratings (AA vs. AAA) and use our quick checks and practical fixes to make your UI readable for everyone.