Color Shade / Tint Generator
Enter a base hex color and generate a range of lighter tints and darker shades, a quick way to build a consistent color scale for a design system.
About this tool
Enter a base hex color and generate a range of lighter tints and darker shades, a quick way to build a consistent color scale for a design system.
Example
Input: #3b82f6
Output: 50-900 tint/shade scale
Privacy
This tool runs entirely in your browser. Your data is processed locally and never uploaded to a server.
How to use this tool
- Enter a base hex color such as #3B82F6 into the input field.
- Choose how many lighter tints and darker shades you want to generate.
- Click generate to build the color scale.
- Copy the shades you need into your design system, CSS, or theme file.
Step by step, what happens
- The tool reads your base hex color and checks that it is a valid hex value.
- It then builds a consistent palette around that base color by creating lighter tints and darker shades.
- Each generated color stays related to the original hue so the scale feels uniform.
- You can use the output as a quick reference when naming tokens like primary-100 or primary-900.
Worked example
A designer wants a usable blue scale for buttons, backgrounds, and hover states starting from one brand color.
Input: #3B82F6
- Paste #3B82F6 into the base color field.
- Generate the palette to see lighter tints above it and darker shades below it.
- Pick the values that fit your UI states, such as a very light tint for backgrounds and a darker shade for text or borders.
Output: Example output: #DBEAFE, #93C5FD, #3B82F6, #2563EB, #1D4ED8
Tips and common mistakes
- Use a valid hex color, including the leading #, so the tool can parse it correctly.
- Start with a brand color that is already close to the tone you want, because the generated scale stays tied to that base.
- Check the generated shades on real UI surfaces, since a color that looks good in a list may feel too strong or too pale in context.
- Keep your chosen tint and shade names consistent across your design system so developers can reuse them easily.
Frequently asked questions
How are shades generated?
Lighter steps mix the base toward white; darker steps scale it toward black, mirroring a 50-900 design scale.
Can I paste a hex code?
Yes, type a 3- or 6-digit hex, or use the color picker.
Is it exactly like Tailwind colors?
It is a simple, consistent tint/shade scale; hand-tuned palettes may differ slightly.
More Developer Tools Tools
Explore related calculators in this category
HTTP Request Builder
Build a cURL command from a method, URL, headers and body. Copy and run it in your terminal.
Query String Builder
Build a URL-encoded query string from key=value lines. Encodes special characters safely.
Regex Builder
Build common regular expressions from simple options, digits, letters, email, ranges and anchors.
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
You Might Also Like
Popular tools from other categories
Accessible Color Pair Finder
Check if a text/background pair meets WCAG and suggest a fix. Free tool with instant calculations, the underlying formula, and an easy-to-follow example.
Capacitor Code Calculator
Decode a 3-digit ceramic capacitor code to capacitance.
Color Converter
Convert between HEX, RGB, and HSL color formats.
Color Converter (HEX / RGB / HSL)
Convert colors between HEX, RGB and HSL formats.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.