Color Picker

Last updated: October 16, 2026  •  Published by: NOFYI Editorial Team  •  Category: Image Tools

Workspace

What Is the Color Picker?

The Color Picker lets you choose a color and see its exact values in the formats designers and developers use every day: HEX, RGB, and HSL. HEX is the compact code used in CSS and design tools, such as #4F46E5. RGB describes the same color by its red, green, and blue components, such as rgb(79, 70, 229). HSL describes it by hue, saturation, and lightness, such as hsl(243, 75%, 59%). All three describe the same color; they are different notations for the same red, green, and blue amounts.

Picking a color by eye alone is unreliable. Two swatches that look alike on different screens can have different values, and a color copied from a screenshot may shift when pasted into code. Using the picker gives you the exact value, so the color you choose is the color that appears in your design.

How to Use the Color Picker

  1. Open the Color Picker page. The picker loads with a default color already selected.
  2. Click the color swatch to open the picker, then drag to choose a hue and adjust saturation and brightness until the preview looks right.
  3. Alternatively, type a known value directly into the HEX, RGB, or HSL field. The other formats update to match.
  4. Copy the format you need: HEX for CSS and most design tools, RGB when a tool asks for separate red, green, and blue channels, or HSL when you want to adjust lightness or saturation.
  5. Paste the copied value into your stylesheet, design file, or document.

Worked Example

Suppose you want the indigo used for a button. You select a swatch and the picker shows #4F46E5. Converting that HEX value gives rgb(79, 70, 229): the hex pairs 4F, 46, and E5 equal 79, 70, and 229 in decimal. In HSL the same color is hsl(243, 75%, 59%), a blue-violet hue of 243 degrees with 75% saturation and 59% lightness.

If you want a lighter version of the same color for a hover state, keep the hue at 243 degrees and raise the lightness, for example to hsl(243, 75%, 68%). The hue stays in the same family while the color becomes lighter, which is easier to control in HSL than by guessing new HEX digits.

Limitations

  • The picker shows colors as rendered by your device. The same HEX value can look slightly different on two screens because of display calibration and color profile.
  • HEX, RGB, and HSL describe colors for screens. They do not describe print ink colors, so a screen color matched for print may still shift.
  • Copying a color from a compressed image can pick up a blended edge pixel rather than the intended flat color. Zoom in and sample the center of a flat area.
  • The picker does not check whether a color combination meets accessibility contrast rules by itself. Check the contrast of text and background colors before publishing.

Frequently Asked Questions

What is the difference between HEX, RGB, and HSL?

HEX is a compact six-digit code for the red, green, and blue amounts. RGB writes those same three amounts as decimal numbers from 0 to 255. HSL writes the color as a hue angle from 0 to 360 degrees plus saturation and lightness percentages. They are three notations for the same color.

How do I copy a color from a website?

Use your browser’s developer tools or a browser eyedropper to read the computed color value, then paste that HEX or RGB value into this picker. Sampling a screenshot can work, but compression can shift the sampled pixel by a few values.

Can I use the picked color in CSS?

Yes. Paste the HEX value, such as #4F46E5, or the RGB or HSL form directly into your stylesheet, for example color: #4F46E5; or background-color: hsl(243, 75%, 59%);.

Why does the same color look different on another screen?

Displays differ in brightness, color temperature, and color profile, and room lighting affects perception. The numeric value is exact, but the rendered appearance depends on the screen showing it.