Notification
Go to Home All Tools Compare Glossary Blog Contact

Color Picker

Pick, convert, and copy colors instantly between HEX, RGB, RGBA, HSL, HSV, and CMYK using this online color picker, then generate a palette.

Client-Side (Private)
Colour Code Converters & CSS Swatches Directory 46 Dedicated Pages

Explore 11 bi-directional formula converters and 35 CSS named colours with hand maths, step-by-step algorithms & swatches.

Browse Converters & Swatches

Interactive Picker

Drag on the 2D canvas or pick from sliders & inputs.

0° – 360°
100%

Preset Palette Swatches

Recent Color History

Image Pixel Extractor

Upload image, click canvas to sample pixels & extract 5 dominant colors.

100% Private Client-Side

Drop an image here or click to browse

PNG, JPG, WebP, SVG • Local browser rendering

CSS & Design Tokens Export

WCAG Contrast Guidance & Auditor

Test text legibility & Web Content Accessibility Guidelines (WCAG 2.1) compliance.

Contrast Ratio 4.52 : 1
How to use this section:

Enter a Text Color (Foreground) and a Surface Color (Background) to check if your web text meets readability rules for visually impaired users and screen legibility.

Live Reading Preview
Body Text (16px / Regular) The quick brown fox jumps over the lazy dog.
Header Text (24px / Bold) Heading Title Sample
WCAG 2.1 Compliance Matrix
Body Text AA Ratio ≥ 4.5:1
PASS
Body Text AAA Ratio ≥ 7.0:1
FAIL
Header AA Ratio ≥ 3.0:1
PASS
Header AAA Ratio ≥ 4.5:1
PASS
Active Swatch Preview

Dodger Blue

Hue 217°, Saturation 76%, Lightness 60%

Best Text Accent White (#FFFFFF)
Relative Luminance 0.235

Bi-Directional Color Converter & Formats

1-Click Copy
HEX / HEXA
RGB
RGBA
HSL
HSLA
HSV / HSB
CMYK
CSS color()
CSS Named Color

Color Harmonies & Scales

Click any swatch to set as the active color.

Complementary (180°)

Analogous (30° / 60°)

Triadic (120°)

Tetradic (90°)

Monochromatic

Split-Complementary

Tint Scale (Lightening Steps)

Shade Scale (Deepening Steps)

Curated 5-Color Theme Palette

Standalone Converter Tools 46 Available

Colour Code Converter Pages & Named Colours Hub

Each dedicated page features an instant bi-directional converter, step-by-step mathematical algorithm by hand, precision rounding rules, and full harmony palettes.

Popular CSS Named Colours (35 Standard Swatches)

Click any swatch to open its dedicated cheat sheet or click the copy icon to grab its hex code.

Red
#FF0000
Blue
#0000FF
Green
#008000
Yellow
#FFFF00
Orange
#FFA500
Purple
#800080
Pink
#FFC0CB
Black
#000000
White
#FFFFFF
Gray
#808080
Brown
#A52A2A
Navy
#000080
Teal
#008080
Maroon
#800000
Olive
#808000
Lime
#00FF00
Aqua
#00FFFF
Cyan
#00FFFF
Magenta
#FF00FF
Silver
#C0C0C0
Gold
#FFD700
Coral
#FF7F50
Salmon
#FA8072
Turquoise
#40E0D0
Indigo
#4B0082
Violet
#EE82EE
Tomato
#FF6347
Crimson
#DC143C
Lavender
#E6E6FA
Beige
#F5F5DC
Khaki
#F0E68C
Orchid
#DA70D6
Plum
#DDA0DD
Chocolate
#D2691E
Tan
#D2B48C
Education

Developer & Design Guide: Color Systems, Accessibility & Tokens

01

Interactive 2D Color Picker & Color Space Models

A modern web color picker enables seamless conversion across HEX, HEXA, RGB, RGBA, HSL, HSLA, HSV, and CMYK models. HSL (Hue, Saturation, Lightness) and HSV (Hue, Saturation, Value) decouple color tint from brightness, making it intuitive to fine-tune UI component themes.

02

Understanding Web Color Representations

HEX values (#3B82F6) use 6 or 8 hexadecimal digits for red, green, blue, and alpha. RGB specifies raw channel intensities from 0 to 255. CMYK defines cyan, magenta, yellow, and key/black percentages for print alignment, while CSS color() notation offers modern sRGB color space rendering.

03

WCAG 2.1 Contrast Ratios & Accessibility Standards

Web accessibility guidelines require strict contrast between text and background. Normal body text (16px) requires a minimum 4.5:1 ratio for Level AA compliance and 7.0:1 for Level AAA. Large text (18pt+ or 14pt bold) requires at least 3.0:1 for AA and 4.5:1 for AAA.

04

Color Harmonies, Tints, Shades & Curated Palettes

Color wheel mathematical offsets build cohesive palettes: Complementary schemes use 180° opposite hues; Analogous schemes sample adjacent 30°–60° angles; Triadic and Tetradic schemes balance 3 or 4 colors evenly. Tint scales add white for lighter tones, while Shade scales add black for depth.

05

Client-Side Image Color Picker & Eyedropper API

Browser-native EyeDropper APIs sample exact pixels directly from desktop display buffers. Uploaded image assets are processed locally using HTML5 Canvas pixel analysis to inspect custom coordinate colors and extract a 5-color dominant palette without server transmission.

06

Design Tokens, CSS :root Variables & Tailwind Export

Exporting color definitions as CSS custom properties (:root variables), Tailwind 50–950 shade scale JSON objects, and complete JSON tokens allows software developers to instantly integrate picked colors directly into production frontend codebases and design systems.

Good to know

Questions, answered

Quick answers about how this tool works.

A HEX color code is a six-character hexadecimal value used in web design to represent red, green, and blue color channels. For example, #3B82F6 describes a blue color by storing red, green, and blue values as pairs of hexadecimal digits.

To convert HEX to RGB, split the HEX value into red, green, and blue pairs, then convert each hexadecimal pair to a decimal number from 0 to 255. This Color Picker does that instantly and shows RGB and RGBA outputs as soon as you enter a HEX value.

RGB describes a color by its red, green, and blue light values. HSL describes the same color using hue, saturation, and lightness, which is often easier when you want to make a color lighter, darker, or less saturated.

A complementary color sits opposite the selected hue on the color wheel. The Color Picker calculates it automatically by rotating the hue 180 degrees, making it useful for high-contrast accents and call-to-action colors.

Was this tool helpful?

★ 5.0 • 2 user ratings

Tap a star to rate instantly

What do you need to work out next?

Search 278+ free tools by name, or pick a category below. Every one runs instantly in your browser — no signup, nothing to install.

More Developer Tools
AI ADVISOR & COACH

Ask AI Advisor

Ask AI