Zero Signup ToolsFree browser tools

Generator Tools

Color Picker

Interactive online color picker with saturation plane, hue and alpha sliders, eyedropper, and live HEX, RGB, HSL, HSV, HWB, OKLCH, and Tailwind output.

Color picker

RGB

R, G, B from 0 to 255.

HSL

Hue in degrees; S and L percent.

HSV / HSB

Used by Photoshop, Sketch, and design tools.

Alpha

0% fully transparent, 100% fully opaque.

Presets:

#3091F2

rgb(48, 145, 242)

HEX

#3091F2

Six-digit sRGB hex.

HEX with alpha

#3091F2

Same as the six-digit hex while alpha is 100%.

RGB

rgb(48, 145, 242)

RGBA

rgba(48, 145, 242, 1)

HSL

hsl(210, 88%, 57%)

HSLA

hsla(210, 88%, 57%, 1)

HSV / HSB

hsv(210, 80%, 95%)

Common in design tools.

HWB

hwb(210 19% 5%)

CSS Color Module Level 4 hwb().

OKLCH

oklch(64.9% 0.169 252.3)

Perceptually uniform; great for accessible color ramps.

CMYK

cmyk(80%, 40%, 0%, 5%)

Approximate print conversion; profile-specific results vary.

Tailwind

bg-[#3091f2]

Closest preset swatch: blue-500 (#3b82f6).

CSS variable

--color: #3091f2;

Drop into :root or a component scope.

SwiftUI

Color(red: 0.188, green: 0.569, blue: 0.949)

iOS, macOS, watchOS, and tvOS SwiftUI Color initializer.

Android

Color(0xff3091f2)

0xAARRGGBB literal used by Compose and the Android Color API.

Closest CSS name

dodgerblue

Distance 22 in sRGB space.

Contrast (WCAG)

vs white: 3.25:1 AA fail

vs black: 6.46:1 AA pass

4.5:1 is the WCAG AA threshold for normal-size body text.

Saved palette

Stored in your browser only. Click a swatch to reload it.

No saved colors yet. Pick a color you like and click Save to palette.

Recently used

Last 16 colors you saved or sampled with the eyedropper.

Recent colors appear here as you save or eyedrop them.

About the formats

  • HEX is the most common color value on the web. Six hex digits encode red, green, and blue; eight digits add an alpha channel.
  • rgb() and rgba() use channel values from 0 to 255. The modern syntax separates values with spaces and uses a slash for alpha.
  • hsl() is easier for building lightness ramps and tints because lightness is a separate axis from hue and saturation.
  • hsv() matches the picker you see in Photoshop and Figma. Saturation is the distance from white, value is the distance from black.
  • hwb() mixes a pure hue with white and black, so it reads naturally for designers used to thinking in tints and shades.
  • oklch() is perceptually uniform: a step of equal L looks like an equal change in lightness to the human eye, which makes it ideal for accessible color ramps.

How to use

  1. Drag the thumb on the saturation and value plane to set the color. The horizontal axis is saturation; the vertical axis is value or brightness.
  2. Use the hue slider underneath to rotate around the color wheel. The plane updates to show every shade of the new hue.
  3. Use the alpha slider to set opacity. Zero is fully transparent; 100 percent is fully opaque. The eight-digit HEX and rgba() outputs reflect the alpha channel.
  4. Type any CSS color into the text input to jump straight to it. The picker accepts hex, rgb(), rgba(), hsl(), hsla(), hsv(), hwb(), and the 148 CSS named colors.
  5. Click Native picker to open your browser's built-in color dialog, or click Eyedropper (Chromium browsers) to sample any pixel currently visible on your screen.
  6. Use the per-channel number inputs to type exact RGB, HSL, or HSV values. Adjustments to any one model update the other models in real time.
  7. Use Copy on any output row to grab a single format, or Copy all formats on the preview to copy the entire result block at once.
  8. Click Save to palette to keep a color for later. Saved colors and recent picks persist in your browser's localStorage; nothing is uploaded.

About this tool

Color Picker is a visual, dependency-free color picker that runs entirely in your browser. Drag the thumb on the saturation and value plane to set chroma and brightness, use the hue slider to spin through the color wheel, and use the alpha slider to dial in opacity. You can also type any CSS color into the input field, click the native browser picker, or hit Eyedropper to sample any pixel on your screen (Chromium-based browsers support the EyeDropper API). The plane is keyboard-accessible: arrow keys move one percent, Shift plus arrow keys move ten percent, Home jumps to white, and End jumps to the deepest tone. Every change updates the live output panel with the most common color formats at once: six-digit and eight-digit HEX, short three or four digit HEX when each channel pair repeats, rgb() and rgba(), hsl() and hsla(), hsv() / hsb() as used by design tools, hwb() from CSS Color Module Level 4, oklch() for perceptually uniform ramps, an approximate CMYK conversion for print previews, a Tailwind arbitrary-value class with the closest preset name in the Tailwind 3 palette, a CSS custom property snippet, a SwiftUI Color initializer for iOS and macOS, and an Android-style 0xAARRGGBB literal. The tool also reports the closest CSS named color from the 148-entry Level 4 list, the WCAG relative-luminance contrast ratio against pure white and pure black with an AA pass or fail flag at the standard 4.5 to 1 threshold, and a Copy all formats button that builds a clean multi-line text block ready to paste into a design doc, a Tailwind config, a Figma component, or a code review. Two persistent panels keep your workflow fast: a saved palette and a recently used row, both stored in your browser's localStorage so they survive a reload but never leave your device. Useful for designers picking brand colors, frontend developers translating Figma values into Tailwind classes or CSS custom properties, mobile developers converting hex to SwiftUI or Android colors, accessibility reviewers sanity-checking contrast, and anyone who just needs a quick HEX or RGB sample from anywhere on screen. Everything runs locally; no signup, no upload, no account.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsGenerator Tools