Color Scheme Generator
Palettes That Agree
This color scheme generator begins by using a single color, a name, or an image. Then, it creates four different types of color schemes (complementary, analogous, triadic, and monochromatic), each containing the hex codes for the colors, as well as CSS variables and a contrast ratio. Because the color wheel is created within your browser, no data is uploaded.
- FreePrice
- SixHarmonies
- NoneSign-up
- NoneUploads
Color Scheme Generator
One color in, six harmonies out — with a contrast table and five export formats
Hex, rgb(), hsl() or a color name all work. Nothing is uploaded — the whole page runs in this tab.
The reader names the harmony which fits best. A near miss still gets an answer.
The image is read on a canvas in this tab, so a file which has not been published yet stays unpublished. Up to five colors come back, most-used first; a flat image gives fewer.
A lightness step is the usual repair when a harmony is right on the wheel and unreadable on the page.
| Text on background | Ratio | Body text | Large text |
|---|
The thresholds are the WCAG ones: 4.5 to 1 for body text and 3 to 1 for large text.
Ready. Type a color, pick one, or press Site blue.
Guides for this tool
Articles with worked examples, tables and a short video that help you get more from this tool.
Wedding Color Scheme Ideas: 20 Palettes and How to Build YoursTwenty ready wedding palettes with hex codes, sorted by season and style, plus a simple method to build your own scheme from one colour you love.
8 minutes of reading · video guide inside
WCAG Contrast RatioWCAG contrast ratio explained: the required AA and AAA ratios, how it's calculated, and how to pass.
8 minutes of reading · video guide inside
What This Color Scheme Generator Does With One Color
A single color can be seen as a starting point, not a design plan. Each page will need a background, text color, borders and accents that are coordinated with one another. A color scheme generator uses the color that you have selected and determines the remaining colors required for your page.
Each time you make a selection, four different options will be generated. The first option is based upon the six harmonies of color selection, including: complementary, analogous, triadic, split-complementary, tetradic (four-color), and monochromatic. The second option gives a gradient of colors from near black to near white. The third option generates a contrast table to work out which pairs of colors may be used for text. The final option generates the exported color files in multiple formats, so they can be pasted into other programs.
That contrast table is much more important than it appears. If you use a beautiful color scheme that does not meet the requirements of the contrast rule, you will end up with a support request. Every pair has a reading, and each failed row will state that in writing.
The page works in reverse, as well, by allowing users to use an existing color palette to find the base color. Users may enter a color palette they already have and find the best harmonic match for it. This is helpful if a user has inherited a design and wants to expand on that design while maintaining a cohesive look.
How A Color Scheme Generator Builds A Palette
Math predates the web. A color wheel lays colors out in a circle. Each harmony corresponds to a shape formed on the circle. A pair of complementary colors are located on opposite ends of the circle. Three colors that are equally spaced around the circle form a triad.
So, the first step converts your color to HSL. HSL means Hue, Saturation and Lightness. Hue represents the angle, Saturation represents the distance between a color and gray, and Lightness represents the amount of white or black that a color has. The angles can be added together easily in HSL, which means that every harmony will work in HSL instead of hex.
The second pass rotates the hue. Complementary adds 180 degrees. Analogous moves 30 degrees each way. Triadic moves 120 and 240 degrees. Split complementary moves 150 and 210 degrees. Tetradic moves 90, 180 and 270 degrees. Each result wraps around the circle, so a hue of 350 plus 30 lands on 20 rather than on 380.
Third Pass: Adjusting Extra Touches A purely rotational change can result in two of the same color having the same lightness value. To help prevent this, the generator gives an option where you can adjust the lightness values in steps. Without this feature, when projecting a banner and its associated accent, they may appear to blend together on the screen.
You can use it on a plane, with no internet connection at all. As such, the page functions offline and with your preferred brand color that you don’t want to input into a hosted service.
Why The Wheel Decides, Not The Eye
The eye adapts. Two colors that look different on a white page can look identical on a dark one. Hue arithmetic does not adapt, and that is the point of it.

Because the rotation of the palettes is simple mathematics, each input produces the exact same result every time. So, any palette that you found appealing last month will return to its original form.
That’s why contrast matters. The contrast ratio is based upon the relative luminance of a color and not its position within the color spectrum. So, even if you are using colors that have been chosen from each side of the color wheel, they may still fail to meet the contrast requirement if their lightness values are similar.
The step that has lightness, so. This is the repair of a harmony that works well with the wheel but cannot be used with the page.
The Six Harmonies, One At A Time
Complementary puts two opposite colors together. These two colors shout, and so they work well for a call to action or a price. But these same two colors hurt as body text on a background, because the edges will vibrate where the two colors come together.

Analogous keeps three neighbors inside about 60 degrees. Because the hues sit close, the set feels calm, and it suits a chart with several series. Yet it hands you no natural accent.
Triadic uses three colors spread evenly apart. This creates a vibrant, but also a stable color scheme. But one of the three colors must typically be reduced in size to serve as an accent, so the design doesn’t become too busy (or turn into a flag).
Split-Complementary, Tetradic And Monochromatic
A split-complementary color scheme is created by taking one color (hue) and then using the two colors on either side of the original color’s opposite. This gives you the vibrancy of a complementary pair of colors but without the potential for visual conflict. It is the simplest to implement when creating a landing page.
Tetradic is a color scheme that has four equally spaced colors (also known as a "square" color scheme). Of all the color schemes, tetradic needs the most restraint because two of the four colors need to take up a most your page while the other two will only be used in very limited amounts.
Monochromatic stays on one hue and moves lightness and saturation only. Notably, this is the safest set for a product interface, because nothing inside it competes for attention.
Pick A Base Color Straight From A Photo
A brand color typically appears in a logo, screenshot or picture and not in a code. As such, the page reads a code. If you drop the file on the page, the color picker will return the colors which are represented by the highest number of pixels.

The reading takes place on a canvas within the user’s tab. Since the file is contained in the browser, an unreleased product photo remains private.
Sampling groups similar pixels before it counts them. Otherwise a photograph of a leaf returns four hundred shades of green and nothing useful. The grouping keeps the list short enough to choose from.
From that point forward the six harmonies will remain applicable. So, by using the color from the store sign as a starting point, a photograph of the storefront can create an entire color scheme.
Export Formats For Your Finished Palette
Each set can be exported in whatever format your next task requires. The plain list of hex codes suits a message to a designer. The CSS custom properties suit a stylesheet, since variables are the usual way to hold a theme.

A CSS custom property block comes first, because a theme usually lives in variables. Then a Tailwind block, since a theme file holds the same values under its own names. After that, SCSS variables and a JSON object cover the remaining cases.
Each color swatch contains its own individual reading, such as the hue angle, saturation, lightness, hex code, and contrast to both white and black.
At last, the whole system downloads as a JSON file. This allows a palette to survive the clearing of a user’s clipboard and can be stored in a design repository with the screen designs that generated the palette.
On this page
- The tool
- What This Color Scheme Generator Does With One Color
- Building A Palette With The Color Scheme Generator
- Reasons To Use This Color Scheme Generator
- Getting A Palette That Holds Up
- Six Ways A Generated Palette Goes Wrong
- Color Scheme Generator Questions
- Handy Companion Tools For This Job
Keep going
The Color Scheme Generator in Action
This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.
Building A Palette With The Color Scheme Generator
It takes four steps, and not one of them asks you to sign up.
Start from one color
So enter a hex code, select a name from the menu, or use the mouse cursor to move the pointer on the color wheel. All of these options will update the base color and then simultaneously update the other areas of the page.
Read the harmonies
Then look through the six sets. Each one shows its swatches with the hex code underneath. Because the base color stays in every set, you compare them without losing your place.
Check the contrast table
Next, read through each of the pairs. While a pair that fails the body text rules will work for a large heading, the chart tells you what works where. So, you should fix the failed pair before creating a style sheet.
Pick the export format your project needs
At last, copy either the CSS variables, the Tailwind block, the SCSS list, or the plain hex codes. Once you have done this, you can then download the JSON if you wish to get the entire scheme in a single file.
Reasons To Use This Color Scheme Generator
Five reasons, and each one is about the color rather than the code.
Six harmonies, not one
In this manner, you can compare a triad with a split complementary using only one tool. Since both sets use the same basic color, the comparison will be fair.
All the maths happens in your tab
Therefore a brand color under an embargo stays on your machine. Nothing gets uploaded, and no account sits between you and the result.
Contrast arrives with the palette
The number values will then be placed next to the color values. If you use a color scheme from this point on and realize there was a problem with the design of your site three weeks later after the layout has been created.
A photo works as an input
The sampler reads directly off of a logo because it’s usually the only way to find a brand color. So, you don’t have to look at a JPEG and try to figure out what hex code matches.
Five export formats
Finally, the output suits a stylesheet, a Tailwind theme, an SCSS build, a JSON fixture or a plain list. Hence the copy button rarely leaves you reformatting by hand.
Getting A Palette That Holds Up
Six habits that separate a palette which ships from one which gets redrawn.
- Pick the base from the brand So first select the color that you will use. A generator that creates the initial design will give a color scheme that has not been used by anyone else and the next designer can throw that out.
- Step the lightness before you ship Because a pure hue rotation can leave two colors equally light, raise or lower one of them. Then the pair separates on a projector as well as on your own screen.
- Keep one accent A single color can be used to emphasize in a triadic or tetradic group. Otherwise, each button will try to compete with one another for the users attention and none of the buttons will win.
- Test against both backgrounds Check each text color on white and on the darkest surface in the set. As a result you find the pair which fails before a reader has to squint at it.
- Name the variables after the job So write a name like brand ink rather than blue seven hundred. Since a hex value changes and a job does not, the name survives a rebrand.
- Check the set in greyscale Finally, remove the hue and look again. If the page still reads clearly, the palette carries a real hierarchy rather than a trick of color.
Six Ways A Generated Palette Goes Wrong
Each of these looks fine on the wheel and hurts on the page.
Using the complementary pair for body text
Watch out here. Because two opposite colors produce a visual vibration when they touch each other, reading small print with this combination is tiring to the eyes. So, use these two colors as a button or heading.
Assuming the wheel knows your brand
A rotation creates balance and rhythm, but does not give clarity or purpose. A proper triad may so be incorrect for use with a financial institution, since a wheel cannot understand your creative brief.
Letting hue carry the whole message
About one man in twelve reads red and green differently. So never let hue alone mark an error or a success. Shape, wording or position has to repeat the message.
Forgetting the dark theme
A set that functions well with white can fail when used with near black. So, the contrast table gives a reading for each condition, instead of only the condition you chose to test.
Letting the palette grow past five
Every extra color adds a decision to every screen. Because a reader holds about five in mind at once, a ten color scheme turns into noise.
Pasting hex codes into a stylesheet by hand
Instead, copy the variable values. If you mis-type a single digit it will result in a color value that appears to be very similar to the intended color, but is significantly more difficult to locate than a color that is clearly incorrect.
Color Scheme Generator Questions
Does this color scheme generator cost anything?
Yes. You never sign up, never hit a cap and never meet a paywall. So you build as many palettes as you like.
Does it send my color anywhere?
No. Since the wheel and the color sampler operate within the user’s web browser, the original color remains on the user’s computer. Thus, a brand color that is now restricted from public release remains secure.
Can I start from a single color?
Yes. A single hexadecimal value will create the six harmonic colors based on that value. The original color will remain consistent throughout each group of colors created.
Can it read a color from an image?
Yes. Drop a photo, a logo or a screenshot in, and the sampler returns the hues which cover the most pixels. Because the reading runs on a canvas in your tab, the file never uploads.
Which harmonies does it build?
From the one color you choose, six color schemes are built – complementary, analogous, triadic, split-complementary, tetradic, and monochromatic. In each of these palettes, the first color (the "base" color) is used as-is, while the other colors in the palette are rotated around the color wheel by a certain amount.
Does it check contrast?
Yes. A ratio and a verdict for each text on background pair is generated for both regular size and large size. Thus, a palette that may appear good but does not give adequate legibility will show up in this manner.
Which formats can I export the palette in?
Five. Plain Hex Codes, CSS Custom Properties, a Tailwind Theme Block, SCSS Variables and a JSON File. And with the copy button you can put all those items onto your clipboard in one click.
Can I paste a palette I already have?
Yes, paste the hexadecimal color codes along with the corresponding web page name that best matches the harmony. This is helpful if you take on a design that was created by someone else and wish to build upon it without making an obvious change in style.
Is a generated harmony accessible?
Harmony and access give solutions for two different issues. A pair of complementary colors may fail the contrast test while a single color palette (monochromatic) can meet the requirements of the contrast test. Read from the contrast table instead of using the color wheel.
What are the WCAG contrast levels?
The table shows two different threshold levels, 4.5:1 for standard sized text and 3:1 for large size text. Any text that is below its respective threshold will fail the contrast test, which the row indicates in text form.
Does it run on phones too, or only on desktops?
Yes. The wheel decreases in size, the swatches curl around it, and the copy buttons are located directly below the resulting image. Thus, a user can operate a palette from their mobile device while they are not at their computer.
Is commercial use of the palette allowed?
Yes. Color values carry no licence. So the hex codes are yours, and nothing here asks for a credit.
Is an account or an extension required?
No, the page will run independently, without requiring a registration or download. You can so close the browser window after completing your palette.
What does a color scheme generator do?
This page creates families of colors that complement each other. The wheel calculates the values, and you retain the coding.
What is a complementary color, in plain terms?
The colors that are directly across from your color on the color wheel, i.e., half way around, will read loud because they are as far as possible from each other. As such, these types of pairs may be suitable for buttons, but are generally not suitable for pages.
How does the wheel pick an angle?
Every chord has a predetermined rotation. First, the wheel determines what your starting color is, then it moves through the angle specified for each chord, and finally, it determines the next color. This means that a triadic chord will always be 120 degrees away from the other colors in the chord.
Can I type a color by name?
Yes. You can use names like teal, coral, and midnight blue in addition to using a hex code. So, you can begin your design with the name on your brief instead of having to look up a code.
What does a triadic color scheme mean?
Three colors set at equal steps around the wheel, 120 degrees from each other. Because all three are equally distant, a triadic set reads balanced. It also needs one of them to lead, or the eye has nowhere to land.
What is a split complementary scheme, in plain terms?
A softer relation of one color to the two neighbors of its opposite. So you keep contrast without the shout. Meanwhile the pair sits 150 degrees out rather than 180.
How many colors does each set hold?
There are three to five colors, depending on the type of harmony you’re using. All of the sets maintain the same base color; so, only one color changes throughout the process, while the other colors change.
How does a color scheme differ from a palette?
A color scheme is the association between colors, and the palette is the set of color codes derived from that scheme. In other words, the color wheel selects a scheme, and the exported file gives the palette.
Which color model does the wheel use?
The color wheel rotates the hue and leaves the other two alone until it is asked for them, since a degree is simple to visualize on a circle.
What does the angle readout show?
The rotation each swatch took from your base color. For example, plus 180 for a complementary pair. So you can see why two sets differ rather than guess.
Can I use a palette as CSS variables?
Yes. The CSS tab writes custom properties, one per swatch. Then paste the block into a stylesheet and every swatch is a name rather than a code.
Does a harmony guarantee a good design?
No, a color scheme only suggests the colors will go together. But contrast, proportions and purpose will ultimately work out if the page is effective. So, make sure to review the table before committing.
Can I download the palette rather than copy it?
Yes, the download button creates a file from the current format, which allows a palette to be shared with other users or stored in a repository without needing to be copied and pasted.
Does the generator need a fast internet connection?
No. The slow line only impacts the initial load of the page, as both the wheel and the sampler will be running on your tab. So, a slow line will only slow the initial load and no subsequent loads.
Handy Companion Tools For This Job
Four pages the same job usually leads to.
- Color code picker
Once you have read each swatch in each format simultaneously, you can see how each of the formats needs its own unique spelling. As such, the picker will display all three formats next to each other.
- Image converter
Before sampling your logo, convert it into the proper file type. Converting to a smaller file will speed up the sampling process, while converting to a flat background will allow for clearer viewing during the sampling process.
- SVG compressor
This first strips the editor metadata for a logo that is created using vector graphics. So, the artwork and the color scheme are contained within a single compact file.
- CSS minifier
The final step is to compress the CSS file that you will be distributing. This will reduce your total color palette size from several hundred bytes to just a few bytes.
Make A Whole Palette From A Single Color
Choose your base color, review the six types of harmony, refer to the contrast guide, and choose which file type you would like to get. All of this occurs within your browser, so if you have a brand color that is restricted, it will remain available for your use. You can finish the whole thing in one step.