Color Shades Generator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free color shades generator. Turn one brand color into a full palette of 11 tints and shades, with HEX codes, CSS variables and a Tailwind config.
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the color shades generator
- Pick your color with the color picker, or type its HEX code, such as
#c8a27a. - Give the palette a name if you like, such as brand, primary or accent. It's used in the CSS and Tailwind code.
- See the scale: 11 steps from 50 (the lightest tint) to 950 (the darkest shade), with your color at 500.
- Copy what you need: a single HEX code from any row, the whole set as CSS variables, or a ready-made Tailwind config.
The color shades generator runs in your browser, with no sign-up.
Tints, shades and the 50 to 950 scale
A tint is a color mixed with white; a shade is a color mixed with black. Together they give you a family of colors that clearly belong together, which is what a design system needs: light backgrounds, borders, hover states, text and dark accents, all from one brand color.
The color shades generator uses the numbered scale made popular by Tailwind CSS and Material Design, where lower numbers are lighter:
| Step | Mix | Typical use |
|---|---|---|
| 50 | 95% white | Page and section backgrounds |
| 100 | 90% white | Hover backgrounds, subtle highlights |
| 200 | 75% white | Borders, dividers, disabled states |
| 300 | 60% white | Borders that need to be seen, icons on dark backgrounds |
| 400 | 30% white | Secondary buttons, illustrations |
| 500 | Your color | Main brand color, primary buttons |
| 600 | 15% black | Button hover |
| 700 | 30% black | Button pressed, links on light backgrounds |
| 800 | 45% black | Headings in the brand color |
| 900 | 60% black | Body text in the brand color, dark sections |
| 950 | 75% black | Darkest backgrounds, text on light tints |
The mixes are done in the standard sRGB color space, the same one HEX codes and the web use, so each step is exactly the stated blend of your color with white or black.
What you can copy
Each step's HEX code. Every row has its own Copy button.
CSS variables. A :root block such as:
:root {
--color-brand-50: #fcfaf8;
--color-brand-500: #c8a27a;
--color-brand-900: #504131;
}
The names follow the --color-name-step pattern, which works as plain CSS custom properties and also matches how Tailwind CSS version 4 names theme colors, so you can paste the same lines into an @theme block.
A Tailwind config. For Tailwind CSS version 3, a tailwind.config.js snippet that adds your palette under theme.extend.colors. After adding it, classes like bg-brand-50, text-brand-700 and border-brand-200 work straight away.
Building a palette from a brand color
Most brands have one or two main colors, but a website needs many more: backgrounds, borders, hover states, text. Picking those by eye usually ends in colors that are slightly off from each other. A color shades generator solves that by deriving every tone from the one you already have.
A practical approach:
- Start with your main brand color at 500. If you don't know it, get it from your logo with the image color picker, or pull a whole palette from a photo with the color palette from image tool.
- Use 50 and 100 for backgrounds. They carry the brand feel without overpowering the content.
- Use 600 or 700 for buttons and links if 500 is too light to read on white.
- Use 900 or 950 for text where you want a hint of brand color rather than plain black.
- Repeat for an accent color if you have one, with a different name.
Check contrast before you use them
Not every step is readable on every background. As a rule of thumb, text from the 700 to 950 steps is readable on the 50 to 100 steps, and white text is readable on the 600 to 950 steps, but it depends on the original color: yellows and light greens stay light for longer than blues and purples.
Always check text and background pairs with the color contrast checker. WCAG asks for at least 4.5:1 for normal text, 3:1 for large text, and 3:1 for buttons, icons and form borders.
Why your 500 might not look "middle"
The scale always puts your color at 500, whatever it is. If your brand color is already very light, such as a pastel pink, then the 50 to 400 tints will be close to white and hard to tell apart, while the dark end has plenty of range. If your color is very dark, such as navy, the opposite happens. That's expected: the scale is built around the color you give it rather than shifting it to an "average" lightness.
If you want your brand color to sit at a different step, generate the scale, choose the step you'd like as the new base, and generate again from that color.
Shades for gradients, shadows and states
Shades from one family work well together in effects:
- Gradients: blend from 400 to 600 for a subtle, on-brand button, or from 500 to 900 for a rich hero section. The CSS gradient generator writes the code.
- Shadows: a 900 or 950 shade at low opacity gives warmer, more natural shadows than black. Try it in the box shadow generator.
- States: use 500 for a button, 600 on hover and 700 when pressed, for consistent feedback.
To convert any of these colors to RGB or HSL, use the HEX to RGB converter.
Color shades in print and documents
The scale isn't only for websites. Use the same color shades in presentations, social graphics, menus, brochures and email templates so everything feels like one brand. HEX codes paste straight into Canva, Figma, Google Slides, PowerPoint and Word. For printing, ask your printer to match the HEX codes to their CMYK or Pantone equivalents, because printed colors can look different from screens.
Naming your colors
Good names make a palette easier to use. A few approaches:
- By role: primary, secondary, accent, neutral, success, warning, danger. This is the most common in design systems, because the names stay true even if the colors change.
- By brand name: crumb, rye, crust. Friendly and memorable for small teams.
- By hue: brown, green, blue. Simple, but awkward if the brand color later changes from brown to red.
Whatever you choose, use lowercase letters and hyphens, such as brand-primary. The color shades generator turns any name you type into that form for the CSS and Tailwind code.
A neutral scale too
Most interfaces also need greys for text, borders and backgrounds. Pure greys can look cold next to a warm brand color. A neat trick is to make a "warm grey" or "cool grey" by starting from a very desaturated version of your brand color, such as a grey with a hint of brown, and generating a scale from that. The neutrals then feel related to the brand without competing with it.
Light and dark themes
A full scale makes dark mode much easier. In a light theme, you might use 50 for backgrounds and 900 for text; in a dark theme, flip them, using 950 for backgrounds and 100 for text, with 400 instead of 600 for buttons. Because every step comes from the same base color, both themes feel like the same brand.
A worked example
A bakery's brand color is a warm tan, #c8a27a, taken from its logo. The owner is building a new website and wants backgrounds, buttons and text that all feel like the same brand.
She types #c8a27a into the color shades generator and names the palette "crumb". The scale appears: 50 is #fcfaf8, a barely-there cream; 100 is #faf6f2; 700 is #8c7155; 900 is #504131; 950 is #32291f.
She uses crumb-50 for the page background and crumb-100 for cards. White text on crumb-500 is too faint (about 2.3:1), so she makes the buttons crumb-700 instead: white on #8c7155 is about 4.6:1, which passes AA. For headings she uses crumb-900, which is very readable on crumb-50.
She copies the CSS variables into her stylesheet and the Tailwind config into her project. Every color on the site now comes from one brand color, and changing the brand later means generating one new scale.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.
Frequently asked questions
How do I make lighter and darker shades of a color?
Type or pick the color in this color shades generator. It mixes it with white for lighter tints (50 to 400) and with black for darker shades (600 to 950), with your color at 500.
What's the difference between a tint and a shade?
A tint is a color mixed with white, making it lighter. A shade is a color mixed with black, making it darker.
Can I use the shades with Tailwind CSS?
Yes. Copy the Tailwind config for version 3, or paste the CSS variables into an @theme block for version 4. Then use classes like bg-brand-100 and text-brand-800.
Is the color shades generator free?
Yes. It's free with no sign-up and no limits.
Why are some of my tints almost white?
If your starting color is already light, the tints above it have little room to get lighter. That's expected; the dark shades will have more range.
Which shade should I use for text?
Usually 800 to 950 on light backgrounds. Always check the pair with a contrast checker; normal text needs at least 4.5:1.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.