रंग शेड्स जनरेटर

एक रंग चुनें और हल्के टिंट्स और गहरे शेड्स की पूरी श्रेणी उत्पन्न करें। उसका मान कॉपी करने के लिए एक स्वच पर क्लिक करें।

10

टिंट (हल्के)

आधार रंग

शेड्स (गहरे)

टिंट और शेड्स

टिंट किसी रंग को सफ़ेद के साथ मिलाकर बनाए जाते हैं, जो उसे धीरे-धीरे हल्का करते हैं। शेड्स रंग को काले के साथ मिलाकर बनाए जाते हैं, जो उसे गहरा करते हैं।

अक्सर पूछे जाने वाले प्रश्न

मैं इन शेड्स का उपयोग कैसे करूँ?

पृष्ठभूमि, होवर स्थितियों और बॉर्डर के लिए हल्के टिंट्स का उपयोग करें। टेक्स्ट, सक्रिय स्थितियों और एक्सेंट के लिए गहरे शेड्स का उपयोग करें। «सभी को CSS वैरिएबल के रूप में कॉपी करें» पर क्लिक करें ताकि उपयोग के लिए तैयार CSS स्निपेट मिल जाए।

क्या मैं रंगों को व्यक्तिगत रूप से कॉपी कर सकता हूँ?

हाँ! क्लिपबोर्ड पर उसका HEX मान कॉपी करने के लिए एक स्वच पर क्लिक करें।

Tint, Shade, and Tone, the Formal Definitions

Three terms get used loosely; classical colour theory distinguishes them precisely:

This generator produces tints (lighter than the base) and shades (darker). Tones (adding grey rather than white or black) are useful for muted, sophisticated palettes (think 1970s interior design colour systems) but rarely needed for typical UI work.

Why Modern Design Systems Use Numeric Scales

Tailwind CSS popularised the 50-100-200-…-900-950 numeric scale per colour, with the "500" stop conventionally treated as the base. Material Design uses a parallel 50-100-…-900 system; Bootstrap 5 uses 100-…-900; IBM Carbon uses 10 stops per swatch. The shared idea: a single brand colour is rarely enough, UIs need consistent variants for hover states, backgrounds, borders, focus rings, disabled states, badges, and dark-mode equivalents. A predictable numeric scale gives you those variants in a way that's portable across components, refactorable when the brand evolves, and discoverable to anyone reading the codebase.

SystemStops per colourBase stop
Tailwind CSS v3+11 (50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950)500
Material Design 313 tonal (0, 10, 20, …, 100)40
Bootstrap 59 (100, 200, …, 900) plus base500
IBM Carbon10 per swatch60

How Different Algorithms Compute the Scale

There are three common ways to compute a tint/shade scale, with different visual results:

If your scale ever looks "flat" (yellow steps that wash out, blue steps that all read as the same dark blue) it's almost always because the underlying maths is HSL-based rather than OKLCH-based. Modern CSS (CSS Color Module Level 4) exposes oklch(), lab(), and color-mix(in oklch, …) directly, making perceptually-uniform scales a one-liner without any external tool.

Use Cases

Accessibility and Contrast

A generated scale is only as useful as the text-on-background pairs it produces. The WCAG 2.1 minimums to keep in mind:

Reliable rules across most well-built scales: the 50 + 900 pair always passes for body text, the 100 + 800 pair almost always does. The 400 + 500 pair almost never does. Test the specific pairs you intend to use, the रंग विपरीतता चेकर tool computes WCAG ratios for any two HEX values.

Wiring the Output Into Your Codebase

Three common ways to consume a generated scale:

/* 1. Plain CSS variables */
:root {
  --brand-50: #f0f9fc;
  --brand-100: #d9eef6;
  --brand-500: #2b7190;
  --brand-900: #0d2935;
}

.btn { background: var(--brand-500); }
.btn:hover { background: var(--brand-600); }
// 2. Tailwind config (tailwind.config.js)
module.exports = {
  theme: {
    extend: {
      colors: {
        brand: {
          50:  '#f0f9fc',
          100: '#d9eef6',
          500: '#2b7190',
          900: '#0d2935',
        },
      },
    },
  },
};

// then in markup
<button class="bg-brand-500 hover:bg-brand-600">Click</button>
// 3. Sass / SCSS map
$brand: (
  50:  #f0f9fc,
  500: #2b7190,
  900: #0d2935,
);

.btn { background: map-get($brand, 500); }

Common Mistakes

  1. Generating too many stops. Tailwind's 11 is a sweet spot. 20 stops is overkill, most are visually indistinguishable, and you'll never use them.
  2. Using HSL-based scales for yellow / orange / fluorescent colours. They wash out at light stops and don't darken cleanly. Reach for OKLCH-based generation if your brand colour falls into the "tricky" hue range.
  3. Treating the scale as final without checking text contrast. Beautiful colour relationships sometimes pair white text with the 400 stop and fail WCAG 4.5:1. Test every pairing you'll actually use.
  4. Inverting the light palette to make a dark-mode palette. Mathematically tempting, visually wrong, colours that feel balanced on white feel garish on near-black. Generate or hand-tune a parallel dark-mode scale.
  5. Using the base colour as "500" when it perceptually matches another stop better. If your brand colour is genuinely dark, it might be the 700 of its scale; let the perceptual relationship dictate which slot it occupies, not the convention.
  6. Forgetting the 50 stop. The lightest tint is the most useful for backgrounds and subtle highlights. Don't truncate your scale at 100.

More Frequently Asked Questions

Why does my scale look flat, all stops feel similar?

Two common causes: (1) too many steps in too narrow a range, try fewer steps, especially if the colour is already mid-luminance; (2) HSL-based scaling on a hue where HSL is poorly calibrated (yellows, oranges, neon colours). Reaching for an OKLCH-based palette generator usually fixes both.

How do I generate a dark-mode palette from a light-mode scale?

Don't simply invert. The naïve invert (flip light and dark stops) produces dark-mode palettes that feel garish or wash out. The convention in Material 3, Radix Colors, and Tailwind's dark variants is to generate a parallel scale tuned for the dark background, usually with slightly reduced saturation and shifted hue to compensate for how colours perceive against dark surfaces. Most large design systems publish both palettes side by side.

Can I use the generated colours commercially?

Yes. Colour values aren't copyrightable; HEX codes are facts about pixels. Use the generated palette anywhere, open-source projects, commercial sites, brand systems, print, packaging.

What's a good number of steps?

For UI design, 9 to 11 stops per colour is the established convention (Tailwind, Bootstrap, Carbon all sit in that range). Material Design uses 13. Below 7 stops the scale feels under-resolved; above 13 the stops become hard to distinguish from each other.

Is anything sent to a server?

No. The colour-mathematics runs in your browser; the input HEX, the generated stops, and the copied CSS never touch a server. Useful when the brand colour is unreleased or under embargo.

How does this differ from a colour-palette generator?

A palette generator picks several distinct colours that work together (complementary, analogous, triadic, etc.), different hues entirely. A shades generator (this one) keeps a single hue and produces lighter and darker variants of it. Different jobs: palette generators give you the brand-primary plus accents; shade generators give you the variations of one of those colours.

संबंधित टूल