اردوहिन्दी

Advanced Color Palette Generator

Press Space for a new five-color palette, lock the colors you like, test it for color blindness and export to CSS or Tailwind.

Palette studio

Press the Space bar to make a new five-color palette, lock the colors you like and keep generating the rest. Switch on the color blindness simulator to see how the palette looks with protanopia, deuteranopia, tritanopia or no color at all, then copy it as HEX, CSS variables or a Tailwind config, or save it as a PNG. Everything runs in your browser.

New: How to Choose the Perfect Color Palette for Your Website (2026 Guide)

Build from one base color

Prefer a rule-based set? Pick a base color and a color wheel scheme such as complementary, analogous or triadic.

HEX, RGB, HSL, CMYK or a name such as tomato

Why choose this generator

  • Photo and mixer. Fill the palette from a picture, or blend two palette colors at any ratio.
  • Contrast checker built in. See which palette colors, and black or white, can carry readable text on each other, graded against WCAG 2.2.
  • See your palette through other eyes. Switch between protanopia, deuteranopia, tritanopia and grayscale views, and get a warning when two colors blend together.
  • Made for designers and developers. Copy as CSS variables, SCSS, JSON, a Tailwind v3 config or a Tailwind v4 @theme block, or save a PNG, in one click.
  • Fast, private and in three languages. Space to generate, lock to keep, and the whole tool reads in English, Hindi or Urdu. Nothing is uploaded.

How to use this tool

Press the Space bar to generate a new five-color palette. On a phone, tap Generate palette. Each press keeps the colors you have locked and replaces the rest with new ones that follow a color wheel rule, so the set stays balanced. Click the lock on a swatch, or press 1 to 5, to keep that color. Click a HEX code to copy it, or use the pencil to pick or type your own color.

Open the color blindness simulator before you ship the palette. Choose protanopia, deuteranopia, tritanopia or achromatopsia and the swatches change to show how people with that kind of vision see them. The list underneath shows all four views at once and warns you when two colors become hard to tell apart, for example a red and a green that look the same under deuteranopia. If that happens, lock the colors that matter and generate again, or make one of the pair lighter or darker.

When you are happy, open Export. Copy the palette as a HEX list, CSS variables, SCSS variables, JSON, a Tailwind v3 config or a Tailwind v4 @theme block. Download a PNG to share in a chat or a design review. Copy link stores the colors and locks in the address, and Undo steps back through your changes. The PNG shows the view you have selected, so you can also save the color blind version.

Trending palettes are a quick way to start, such as AI Tech Dark Mode, Vintage Print and South Asian Warmth. Tap one to load it and keep editing. To build a set from a single brand color using complementary, analogous or triadic rules, use the scheme builder lower on the page. Before you use any pair of colors for text, check it with the Color Contrast Checker.

Check it by hand: #1E90FF has a hue of about 210°. The complementary color sits opposite on the wheel, 210 + 180 = 390, and 390 − 360 = 30°, which is orange. The same saturation and lightness at 30° gives #FF8D1E. Triadic adds 120° and 240°: 210 + 120 = 330° and 210 + 240 = 450 − 360 = 90°, which give #FF1E90 (pink) and #90FF1E (lime). Analogous moves 15° and 30° to each side, so the hues are about 180°, 195°, 225° and 240°.

Worked example

From dodger blue (#1E90FF) the complementary scheme gives a darker blue, an orange at the opposite side of the wheel (hue 30°), a deeper orange and a muted accent, a classic blue and orange pairing.

Good to know

  • Palettes are built with color wheel rules; they are a starting point, not a finished brand guide.
  • Always check text and background pairs with the Color Contrast Checker before using them for text.
  • The color blindness views are a simulation based on a published model. Real vision varies from person to person, so treat them as a guide and test with real users when it matters.

Questions people ask

Can I mix two colors of my palette?

Yes. Use the color mixer: choose color A and color B, slide the share of B, and put the result into any slot. It averages the red, green and blue values.

How do I check if my palette colors have enough contrast for text?

Scroll to the contrast checker under the swatches. Each row is a text color and each column a background, graded AAA (7:1 or more), AA (4.5:1 or more, for normal text), AA large (3:1 or more, for big or bold text) or Fail. Black and white are included, so you can see the best text color for every swatch.

How do I generate a color palette with the Space bar?

Press the Space bar while the generator is on screen, or tap Generate palette on a phone. Locked colors stay and the others change. Press Ctrl+Z (Cmd+Z on a Mac) or tap Undo to go back to the last palette.

How does the color blindness simulator work?

It re-colors each swatch with a published model (Machado and others, 2009) for protanopia, deuteranopia and tritanopia, and shows a grayscale view for achromatopsia. It also compares every pair of colors and warns you when two that look different to most people become hard to tell apart.

How common is color blindness?

About 1 in 12 men and 1 in 200 women have some form of color vision deficiency, most often affecting red and green. That is why a palette that relies on red against green can fail for a large number of users.

How do I use the palette in Tailwind CSS?

Choose Tailwind config (v3) in Export and paste the colors into theme.extend.colors in tailwind.config.js. For Tailwind v4, choose the @theme format and paste it into your main CSS file. Then use classes such as bg-teal or text-navy, named after the nearest color name.

Can I lock a color and keep generating?

Yes. Click the lock on a swatch, or press the number key 1 to 5, and that color stays while the rest are replaced. The generator builds the new colors around the locked one so they still work together.

Is my palette uploaded or saved anywhere?

No. Everything runs in your browser. The Copy link button puts the colors after a # in the address, which is not sent to any server, so you can bookmark or share the palette without an account.

How do I make a color palette?

Choose a base color, pick a scheme such as Analogous or Triadic, and copy the five colors. Tap Random color to try new starting points.

Which scheme should I use?

Complementary for bold contrast, analogous for calm and natural looks, monochromatic for a clean single-color design, triadic for lively, balanced palettes.

Can I use these colors in CSS?

Yes. Copy as CSS gives you variables like --color-1: #1E90FF; ready to paste into a stylesheet.

Can I make a palette from a photo?

Yes. Use Colors from a photo under the swatches: pick a picture and its five main colors fill the palette, keeping any locked colors. The photo stays on your device. For one exact color from a point in a picture, use Color Picker from Image.

Can I save the palette?

Download it as a PNG image, or copy the page link, which keeps the colors and scheme.

What is the difference between a color palette and a color scheme?

A scheme is the rule used to choose the hues, such as complementary or analogous. A palette is the set of colors that comes out of it. Pick the scheme here and you get a five-color palette.

How many colors should a palette have?

Many designers use one main color, one or two supporting colors and a neutral. This tool gives five, so you can drop the ones you do not need.

Can I find a palette that matches my brand color?

Yes. Type your brand HEX code as the base color, then try each scheme. Check text and background pairs with the Color Contrast Checker before using them.

What color is opposite blue on the color wheel?

Orange. Blue at about 210° has orange opposite it, 180° further round at 30°, for example #FF8D1E.

How do I find the triadic colors of a base color?

Add 120° and 240° to its hue. From blue at 210° that gives 330° (pink) and 90° (lime green).

Part of the guide: Developer and design tools: QR codes, passwords, JSON, colors and timestamps

Formulas and text last checked on 20 November 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.