You need a hex code for that exact shade of blue in your CSS. Or a client sent you an RGB value and you need the hex equivalent. A color picker gives you any color in every format — hex, RGB, and HSL — with one click to copy.
Every color on a screen can be described in three formats. They all represent the same color — just in different notation systems:
| Format | Example (Burnt Orange) | Structure | Best For |
|---|---|---|---|
| Hex | #FF5733 | #RRGGBB (00-FF per channel) | CSS, HTML, web design, Figma, Sketch |
| RGB | rgb(255, 87, 51) | Red 0-255, Green 0-255, Blue 0-255 | Design tools (Photoshop, Illustrator, Canva) |
| HSL | hsl(11, 100%, 60%) | Hue 0-360°, Saturation 0-100%, Lightness 0-100% | Adjusting colors (darken, lighten, desaturate) |
Quick rule: Use hex when writing CSS or sharing colors with developers. Use RGB when working in design applications. Use HSL when you need to create lighter/darker variations of the same hue — just change the lightness percentage.
No signup, no download. Pick a color, grab the code, get back to work.
| Color | Hex | RGB | HSL |
|---|---|---|---|
| Black | #000000 | rgb(0, 0, 0) | hsl(0, 0%, 0%) |
| White | #FFFFFF | rgb(255, 255, 255) | hsl(0, 0%, 100%) |
| Red | #FF0000 | rgb(255, 0, 0) | hsl(0, 100%, 50%) |
| Blue | #0000FF | rgb(0, 0, 255) | hsl(240, 100%, 50%) |
| Green | #00FF00 | rgb(0, 255, 0) | hsl(120, 100%, 50%) |
| Tailwind Blue-500 | #3B82F6 | rgb(59, 130, 246) | hsl(217, 91%, 60%) |
| Tailwind Red-500 | #EF4444 | rgb(239, 68, 68) | hsl(0, 84%, 60%) |
| Material Indigo | #3F51B5 | rgb(63, 81, 181) | hsl(231, 48%, 48%) |
| Figma Purple | #A259FF | rgb(162, 89, 255) | hsl(266, 100%, 67%) |
| Slack Green | #2EB67D | rgb(46, 182, 125) | hsl(155, 60%, 45%) |
| Scenario | Use This Format | Why |
|---|---|---|
| Writing CSS styles | Hex (#3B82F6) | Compact, universal CSS support, easiest to read in code |
| JavaScript canvas/WebGL | RGB (59, 130, 246) | Canvas API uses RGB values directly |
| Creating color variations | HSL (217, 91%, 60%) | Change lightness to darken/lighten without shifting hue |
| Sharing with designers | Hex (#3B82F6) | Universal — works in every design tool |
| Email HTML templates | Hex (#3B82F6) | Best email client compatibility |
| CSS custom properties | HSL or Hex | HSL makes theming easier (swap hue = new theme) |
Honest limitations so you pick the right tool:
The color picker does one thing well: let you pick or enter a color and get all screen-format codes instantly.
Pick any color — get hex, RGB & HSL codes instantly.
Open Color Picker