Color Shades & Tints Generator

Paste a color and get a full tint-to-shade scale: Tints toward white, Shades toward black, both live. Computed in your browser, never sent.

Loading…
Color Shades & Tints Generator
Paste any CSS color and get a live Tints scale toward white and a Shades scale toward black at once. Adjustable step count and HEX/RGB/HSL output, with a shareable URL.

Developer notes

Classical linear RGB mix, not HSL-lightness mixing: tint_i = base + (white - base) * i/steps, shade_i = base + (black - base) * i/steps, channel-wise in sRGB. colorjs.io parses the pasted color only. The mix itself is plain interpolation, with no other color library. At i = steps the last tint is exactly white and the last shade is exactly black, with no rounding drift. Both scales always render together: there is no direction toggle or a third "tones" (gray-mix) scale. swatchFormat picks one CSS format at a time for every swatch; paste a swatch's value into Color Converter for a full format breakdown.

Options

  • Steps — Number of swatches generated in each of the Tints and Shades scales. 5–15, default 10: a 5-step scale suits a quick check, 10–15 suits a full design-token palette.
  • Swatch format — The CSS format shown and copied for every swatch, across both scales: HEX, RGB, or HSL. Default HEX, the universal paste-ready format.

Related CSS tools

Hub: Color & CSS Tools. Convert a swatch to every format with Color Converter and check contrast with Color Contrast Checker. Shrink and format stylesheets with Minify CSS and Beautify CSS.

Color Shades & Tints Generator FAQ

Local tint and shade scale generator

What's the difference between Tints and Shades?

Tints mix your base color toward white; Shades mix it toward black. Both scales are always generated together from the same base color and step count.

How many steps can each scale have?

5 to 15 steps per scale, 10 by default, which is the widely recognized design-token scale size. Both scales always share the same step count.

Is this the same as a 'tones' generator?

No. Tones mix toward gray, which this tool does not generate. It only produces tints toward white and shades toward black, the classical definition.

Are my colors uploaded anywhere?

No. Parsing and mixing run entirely in your browser. FastMinify never sends the pasted color to a server.

Paste-local WCAG contrast checking with modern CSS color syntax — pair and matrix views, never uploaded.