COLOR TOOLS · BFOTKIT

Color Shades Generator | BFOTKit

Generate a full ramp of tints and shades from any base color — from near-white to near-black — and copy any step as hex.

Click any swatch to copy its hex value. The middle square is your base color unchanged.

Result

All color math runs locally in this browser tab. Nothing is sent to a server.

GUIDE

How to build a color ramp

Tints mix toward white, shades toward black

Each step blends your base color with white (tints, lighter) or black (shades, darker) by an even increment. Five steps per side is enough for UI states; ten gives finer control for data visualizations.

Use ramps for consistent states

Hover, active, disabled, and border colors that come from one ramp always relate to each other, because every step is the same mathematical distance from the base. Hand-picked colors drift apart over time.

Watch contrast at the extremes

The outermost steps approach pure white or black and can vanish against matching backgrounds. Keep text on the mid steps of the ramp and reserve the extremes for subtle fills and borders.

HELP / FAQ

Color shades questions

How many steps should I generate?

Five per side covers the common UI needs: a lighter hover, a darker active, and borders in between. Generate ten when building a chart palette or a design token scale.

Is this the same as changing lightness in HSL?

Not exactly. Mixing toward white or black in sRGB keeps hue and saturation relationships of real paint blending; HSL lightness rotates saturation in ways that can look washed out. Compare both and pick what suits your palette.

Can I use the ramp for dark mode?

Yes — the shade side works as dark-mode surfaces for a light-theme base color. Check text contrast on each surface with a contrast checker before shipping.

Does clicking a swatch copy the color?

Yes. Every swatch copies its hex value to the clipboard, ready to paste into CSS variables or design tools.

EXPLORE BY CATEGORY · BFOTKIT

More tools like this

Pick a category to see every tool in it — then open one and discover related tools.

Browse all tools