Color Shades Generator
Free online color shades generator. Enter any hex color and generate evenly-spaced tints (toward white) and shades (toward black) with HEX, RGB, and HSL values. Export as CSS variables, SCSS, or JSON for your design system. 100% client-side.
Loading tool...
What is Color Shades Generator?
The Color Shades Generator is a free online tool that takes any base hex color and produces a complete scale of tints and shades in evenly-spaced steps. It mixes your color toward white (tints) and toward black (shades) using linear RGB interpolation, generating anywhere from a 3-step scale to a 21-stop ramp depending on your chosen step count. Every swatch displays its weight, HEX, RGB, and HSL values, all copyable with a single click. The tool can export the full palette as CSS custom properties, SCSS variables, or a JSON token object, ready to drop into a Tailwind theme, Material Design palette, or any design-token pipeline. An interactive color picker, manual hex input with validation, and preset swatches make it fast to iterate, and auto-contrast text on each swatch helps with accessibility review. All processing runs entirely in your browser with no data sent anywhere.
Key Benefits
- Build consistent, evenly-spaced color scales for design systems in seconds
- Adjustable step count from 1 to 10 per side for fine-grained control
- Copy HEX, RGB, or HSL for any swatch with one click
- Export as CSS variables, SCSS variables, or JSON for any framework
- Auto-contrast text and an accessible values table support WCAG review
Common Use Cases
- β’Design systems: generate a Tailwind-style color scale (50-950) from a single brand color
- β’Web development: create CSS custom properties or SCSS variables for light and dark theme palettes
- β’UI design: explore tints and shades of a brand color for hover, active, and disabled states
- β’Accessibility: audit color contrast ratios across a scale for WCAG compliance
- β’Prototyping: quickly spin up a cohesive palette from a hex value picked from a logo or screenshot
How to Use the Color Shades Generator
- Enter a Base Color: Type a hex color code (e.g. #3b82f6) into the input box, or pick a color using the color picker swatch next to it. You can also click a preset color below.
- Set the Step Count: Use the steps slider to choose how many tints and shades to generate on each side of the base color, from 1 to 10 per side.
- Browse the Scale: The generated scale appears as swatches from lightest tint to darkest shade. Click any swatch to copy its hex value to your clipboard.
- Review and Export: Scroll to the detailed values table to copy HEX, RGB, or HSL, then use the Export buttons to copy the full palette as CSS variables, SCSS, or JSON.
Key Features
- Generates evenly-spaced tints (toward white) and shades (toward black) from any base hex color.
- Adjustable step count from 1 to 10 per side, producing 3 to 21 total swatches in a single view.
- Shows HEX, RGB, and HSL for every swatch with one-click copy and visual confirmation.
- Exports the full palette as CSS custom properties, SCSS variables, or a JSON token object.
- Auto-contrast text on every swatch and an accessible detailed values table.
- 100% client-side β works offline, no sign-up, and your color values never leave your device.