कलर पिकर

रंग दृश्य रूप से चुनें और HEX, RGB, HSL तथा CMYK के बीच बदलें।

Aa4.55:1 vs white
Aa4.61:1 vs black
HEX#0070F3
RGBrgb(0, 112, 243)
HSLhsl(212, 100%, 48%)
CMYKcmyk(100%, 54%, 0%, 5%)

What is कलर पिकर?

The Color Picker lets you select any color visually through an interactive color input and instantly see its value in every major color format: HEX (web standard), RGB (screen display), HSL (design-friendly), and CMYK (print). A shade strip shows automatically generated lighter and darker variants of your chosen color, and the accessibility panel displays contrast ratios against white and black backgrounds.

Color format conversion is a constant task in design and development. Designers work in HEX and HSL for screens; print designers need CMYK; CSS developers use RGB for opacity operations; backend systems may store colors as integers or HSL strings. Our tool eliminates the need for separate calculators by providing all formats simultaneously.

The accessibility data — contrast ratio against white and black — gives immediate WCAG compliance information at the point of color selection. Checking accessibility while choosing colors prevents violations from being discovered late in development when they are more costly to fix.

Use Cases

Here are the most common ways people use कलर पिकर every day.

Brand Color Format Conversion

A brand guideline specifies a CMYK primary color for print. You need the HEX code for the website and RGB for digital advertising. Enter the color visually and get all formats simultaneously for consistent representation across all media.

Design System Shade Generation

A design system needs a tonal range: background, border, muted text, body text, and heading variants of the primary color. The shade strip shows lighter and darker variants across the full lightness range. Click any shade to copy its hex code for use in CSS variables or design tokens.

Accessibility Pre-checking

As you choose text and UI element colors, the contrast ratio display shows immediately whether the color achieves the required 4.5:1 WCAG AA ratio against your background. Checking during selection is faster than checking afterward with a separate tool.

CSS Development

When implementing a design, copy HEX for standard CSS color properties, RGB for rgba() with opacity, and HSL for programmatic adjustments. All three are provided simultaneously without manual conversion.

Color Token Management for Design Systems

Design systems define a token palette: --color-primary-500, --color-primary-600, --color-neutral-100, and so on. The color picker generates the shade strip for any base color, providing the full tonal range needed to define light, default, dark, and hover variants. Copy each shade's HEX value directly into your design tokens file or Figma styles panel. This ensures the token palette is mathematically consistent — shades are generated from the same base hue with predictable lightness steps.

Pre-checking Accessibility While Choosing Colors

The contrast ratio display shows immediately whether a chosen color achieves the required 4.5:1 WCAG AA ratio against white or black backgrounds. Checking during color selection — before committing to a design direction — is far faster and cheaper than discovering accessibility failures after design handoff or development. For text colors especially, selecting a foreground color while watching the contrast ratio update in real time prevents accessibility violations from being baked into the design from the start.

Examples

Example 1

Primary Blue Conversion

Convert a primary blue to all format values for use across web and print.

Input #0070F3
Output HEX: #0070F3 | RGB: rgb(0, 112, 243) | HSL: hsl(211, 100%, 48%) | CMYK: cmyk(100%, 54%, 0%, 5%)
Example 2

Generate Shade Range for a Brand Color

See the full tonal range of a brand green for design system token definition.

Input #16A34A (green)
Output Shades: 50 → #f0fdf4 | 100 → #dcfce7 | ... | 600 → #16a34a | ... | 900 → #14532d
Example 3

CSS HSL Color for Programmatic Theming

Copy the HSL value to build a CSS custom property that supports easy shade calculation.

Input #7C3AED (violet)
Output HSL: hsl(263, 70%, 58%) — set as --color-primary-h: 263; --color-primary-s: 70%; --color-primary-l: 58%;

कलर पिकर vs Figma Color Picker

Our standalone color picker versus Figma's built-in color tool for developers and designers.

विशेषता Toolorah Figma Color Picker
HEX, RGB, HSL display All simultaneously One format at a time
CMYK conversion Yes No
Shade/tonal range generation Yes — automatic strip Manual with styles
WCAG contrast ratio Yes — vs white and black Requires separate plugin
Screen eyedropper Via OS color picker Yes — built-in
Works without a Figma account Yes Account required
Copy CSS-ready values Yes — formatted for CSS Yes

Tips for Using कलर पिकर

  • HSL is most useful for programmatic color adjustments: change L for lighter/darker shades, S for muted/vivid, H for related hues.
  • Screen RGB colors may appear more vibrant than their CMYK print equivalent — the CMYK gamut is smaller than sRGB.
  • The browser color picker activates the OS color picker on click — on macOS, this includes an eyedropper to sample any screen color.
  • HEX colors with repeating pairs can be shortened in CSS: #AABBCC → #ABC.
  • 4.5:1 contrast is required for normal text (WCAG AA). Large text (18pt+) only requires 3:1.

Frequently Asked Questions

What is the difference between RGB and HSL?

RGB defines colors as intensities of red, green, and blue light channels — matching how screens physically produce color but not how humans intuitively perceive color relationships. HSL (Hue, Saturation, Lightness) maps more closely to human color intuition: hue rotates around the color wheel (0°=red, 120°=green, 240°=blue), saturation controls color intensity from gray to full color, and lightness controls brightness from black to white. Creating a lighter or darker variant of a color in HSL means adjusting L; in RGB it requires recalculating all three channels.

How do I convert HEX to RGB?

A HEX color is three pairs of hexadecimal digits representing red, green, and blue: #RRGGBB. Convert each pair from hex to decimal. #0070F3 → R: 00 = 0, G: 70 = 112, B: F3 = 243 → rgb(0, 112, 243). To convert back: express each decimal as two hex digits (0-255 maps to 00-FF). Most developers use a tool for this rather than calculating manually. Our color picker shows all conversions simultaneously.

Why are CMYK values approximations of screen colors?

RGB is additive (light): full red + green + blue = white. CMYK is subtractive (ink): full cyan + magenta + yellow + black = near-black. These models have different color gamuts — the range of colors they can represent. Many vivid screen RGB colors are outside the CMYK gamut and cannot be precisely reproduced in print. CMYK values converted from RGB are the closest achievable print approximation. For brand-critical colors, work with a print production specialist to ensure the CMYK values reproduce acceptably on your specific paper and press.

What are CSS named colors?

CSS supports 147 named colors from "aliceblue" to "yellowgreen" defined in the CSS Color specification. They are mapped to HEX values: "cornflowerblue" is #6495ED, "tomato" is #FF6347. Named colors are convenient for readability in CSS and are supported by all browsers. Our color picker shows the HEX value — you can use either the HEX or the equivalent named color in CSS if one exists for your chosen color.

How do I pick a color from my screen?

Clicking the color input in our tool activates your operating system's native color picker. On macOS Ventura+, this includes a magnifier eyedropper tool that lets you sample any pixel on your screen. On Windows 11, the color picker in some apps includes an eyedropper. For a browser-based eyedropper that works in Chrome and Edge, the EyeDropper Web API (window.EyeDropper) can be used. For cross-platform color sampling, the macOS Digital Color Meter app and Windows PowerToys Color Picker are reliable standalone tools.

What is a color gamut and why does it matter for design?

A color gamut is the range of colors a device can display or a medium can reproduce. sRGB is the standard gamut for most monitors and the web — it covers approximately 35% of visible colors. Display P3 (used in modern Apple and many other displays) covers about 50% of visible colors, producing more vivid greens, reds, and cyans. CMYK for print covers a different subset, missing many saturated blues and greens. Designing in sRGB ensures your colors look consistent across devices. If you design in P3 and a user views on an sRGB monitor, colors will appear less vivid than intended.

What is the difference between sRGB and Display P3?

sRGB is the standard color space for the web, defined in 1996 for consumer monitors. Display P3 is a wider color space originally designed for digital cinema, now used in Apple displays, Samsung OLED screens, and modern phones. P3 has approximately 25% more color volume than sRGB, with notably wider greens and reds. CSS Color Level 4 supports P3 colors with color(display-p3 r g b) syntax. For web design, sRGB remains the safe default. Use P3 colors only for experiences where you know your audience has P3-capable displays and you have tested fallbacks for sRGB-only screens.