What is a color palette generator?
A color palette generator is a tool that suggests a small group of colours, usually 3 to 6, that look good together. Instead of guessing, it uses the geometry of the colour wheel or the real colours in an image to give you a starting point you can adjust.
A good palette does three jobs: it sets a mood (calm, playful, premium), it gives you enough contrast for readable text and buttons, and it stays consistent across your website, social posts, packaging and link-in-bio page. This generator helps with all three: it builds the palette, names each colour, grades its contrast against white and black text, and previews it as a real profile page.
How to use the color palette generator
Generate from a base colour
- On the Generate tab, pick a base colour with the colour picker or type a HEX code (3- or 6-digit, with or without #).
- Choose a harmony: Analogous, Monochromatic, Complementary, Split-complementary, Triadic, Tetradic or Shades. The palette updates instantly with five colours.
- Click Random palette, or press the Space bar, to try a new random base colour with the same harmony.
- Click Lock under any colour you want to keep. Locked colours stay put while the rest shuffle.
- Or start from a preset: Wedding, Brand, Pastel, Earthy, Neon or Dark mode.
Extract a color palette from an image
- Open the From image tab and drop in a JPG, PNG or WebP photo (or click Try a sample photo).
- Choose 5 or 6 colours to extract. The most dominant colour comes first.
Copy and export
- Click any colour block, HEX, RGB or HSL value to copy it.
- Use Copy CSS variables, Copy Tailwind config or Copy HEX list for code.
- Click Download PNG (1200 x 630) for an image of the palette with names and HEX codes, handy for mood boards and sending to a client or printer.
- Switch the Link in bio preview between Light, Dark and Bold colors to see how the colours work as a background, buttons and text.
Color harmony explained: complementary, analogous, triadic and more
Colour harmonies are fixed positions on the 360-degree colour wheel. Each one gives a predictable feel.
| Harmony | How it is built | Feels | Good for |
|---|---|---|---|
| Analogous | Neighbouring hues, about 20 to 40 degrees either side | Calm, natural | Lifestyle brands, wellness, photography |
| Monochromatic | One hue in darker and lighter versions | Clean, elegant | Minimal websites, luxury, portfolios |
| Complementary | A hue plus its opposite (180 degrees) | High contrast, energetic | Call-to-action buttons, sports, food |
| Split-complementary | A hue plus the two neighbours of its opposite (150 and 210 degrees) | Lively but less harsh | Brands that want contrast without clashing |
| Triadic | Three hues evenly spaced (120 degrees apart) | Balanced, playful | Kids, education, creative studios |
| Tetradic | Four hues 90 degrees apart | Rich, busy | Illustration, events; pick one to dominate |
| Shades | One hue from very light to very dark | Systematic | UI design systems, dashboards |
The harmony gives you hues; the generator also varies lightness and saturation so you get usable backgrounds and text colours, not five equally loud colours. A common way to apply any palette is the 60-30-10 rule: about 60% of the space in a neutral or main colour, 30% in a secondary colour and 10% in an accent for buttons and highlights.
How the color palette from image feature works
When you upload a photo, the tool shrinks a copy to about 120 pixels on the long side, skips transparent pixels, and groups the remaining colours with k-means clustering. Each group's average colour becomes a swatch, and the swatches are sorted from the largest group to the smallest. The result is the colours that actually fill the picture, not just the brightest ones.
Tips for better results:
- Crop to the part you care about first. A product shot with a big white background will give you white as the top colour. The image cropper helps.
- Try both 5 and 6 colours. Six often picks up a small accent, like a flower or a sign, that five merges away.
- Photos taken in warm indoor light skew orange. If the colours look muddy, try a daylight photo.
- Use the extracted palette as a draft. Copy the HEX codes, then switch to the Generate tab, paste your favourite as the base colour and lock it while you build a cleaner set around it.
Color contrast and WCAG: making a palette readable
Every swatch shows two badges: the contrast ratio of white text and of black text on that colour, with a WCAG grade. WCAG (Web Content Accessibility Guidelines) measures contrast from 1:1 (no contrast) to 21:1 (black on white).
| Grade | Ratio | What it is fine for |
|---|---|---|
| AAA | 7:1 or more | Body text, small print, everything |
| AA | 4.5:1 or more | Normal body text and button labels |
| AA Large | 3:1 or more | Large text only (about 24 px, or 19 px bold) and icons |
| Fail | below 3:1 | Decoration only, never text |
In practice: give every palette at least one dark colour that passes AA against your light background, and check your button colour with its label colour. Bright yellows, light greens and pastels almost always need dark text. Saturated mid-tones (many oranges and pinks) often fail with both white and black at small sizes, so keep them for large headings or backgrounds.
Brand, wedding and website color palettes
Brand color palette
Most small brands need 3 to 5 colours: a primary (your recognisable colour), an accent for buttons and sale tags, a near-black for text, an off-white for backgrounds and perhaps one neutral grey. Start from the colour you already own (logo, shop sign, packaging), lock it, and shuffle a Split-complementary or Analogous harmony for the rest. A home baker in Pune might lock a warm terracotta and build cream, cocoa and sage around it; a fintech start-up might lock a deep blue and add a single bright accent.
Wedding color palette
Wedding palettes usually pair two or three soft tones with one deeper anchor colour for text and florals. Start from the Wedding preset, or upload a photo of the venue, the outfit fabric or an inspiration bouquet and extract the colours. Download the PNG and share it with the decorator, florist, invitation designer and family group chat so everyone works from the same HEX codes. For Indian weddings with several events, build one palette per function (mehendi greens and yellows, sangeet jewel tones, reception pastels) with one shared neutral.
Website color palette
For a website or app, use Shades or Monochromatic for the interface (backgrounds, borders, text) and one contrasting accent for links and buttons. Copy the CSS variables into your stylesheet or the Tailwind config into tailwind.config.js, then check every text-on-background pair against the AA badge. Try the Dark mode preset if you also need a dark theme.
Creators and social media
A consistent palette makes a feed, thumbnails and highlight covers look like one brand. Use the same HEX codes in the highlight cover maker, background generator and your link-in-bio page.
HEX vs RGB vs HSL color codes: which to copy
Each swatch shows the same colour in three formats. Click any of them to copy it.
| Format | Example | Where it is used |
|---|---|---|
| HEX | #3B82F6 | Canva, Figma, website builders, brand guidelines; the most widely accepted format |
| RGB | rgb(59, 130, 246) | CSS, PowerPoint, Google Slides, video editors |
| HSL | hsl(217, 91%, 60%) | CSS; easy to tweak by hand, because you can change lightness without changing the hue |
| CSS variables | --color-1: #3B82F6; | Paste into :root and reuse across a stylesheet |
| Tailwind config | palette: { 1: '#3B82F6' } | Tailwind CSS projects, used as bg-palette-1 or text-palette-1 |
Each colour also gets the name of the closest standard web colour (for example "Cornflower Blue"), which is handy when you describe a palette to a client or a printer. For print, ask your printer to match the HEX codes to CMYK or Pantone values; screens can show some bright colours that ink cannot reproduce.
Color palette generator vs Coolors, Adobe Color and Canva
Several good palette tools exist, and each has a focus. Coolors popularised the press-Space-to-shuffle workflow and has a large library of community palettes. Adobe Color has a detailed colour wheel and links into Adobe apps. Canva can pull colours from a photo and keep brand colours in a brand kit next to your designs.
This generator covers the common jobs for free, with no account: harmonies with locks and Space-bar shuffling, extraction from your own photo, WCAG grades on every swatch, CSS and Tailwind export, a shareable 1200 x 630 PNG, and a live link-in-bio preview. It does not save palettes to an account or browse community palettes, so copy your codes or download the PNG before closing the tab.
Does it upload my photos?
No. Colour maths, image extraction and the PNG export all run in your browser with the canvas API. Photos you drop in are read locally and never sent to Biolinko.
Using your palette on a link-in-bio page
The preview on the right shows your palette as a profile page in Light, Dark or Bold colors style. To use it for real, create a free Biolinko page, open Design, and paste your HEX codes into the background, text and button colour fields. Keep the button fill and button text pair at AA or better so every visitor can read your links. For more styling ideas, see the link in bio for creators page.
Updated October 8, 2026