Runs in your browser. Your files and text never leave your device - nothing is uploaded.
Online Color Picker with HEX, RGB, HSL, HSV and CMYK Codes
The Tools Kit’s free Color Picker turns any color into the codes you actually need. Choose a color with the visual picker or paste a HEX code (including the #), and the same color appears as HEX, RGB, HSL, HSV and CMYK side by side, each ready to copy with one click. A five-swatch palette built from the same hue gives you darker shades and lighter tints for hover states, borders and backgrounds.
It doubles as a HEX to RGB converter and a quick color code finder: there is nothing to install, no account, and every conversion runs in your browser, so the colors you work with never leave your device.
How to Use the Color Picker
- 1
Pick or type a color
Click the swatch under Pick a Color to open your browser’s color picker, or type a full six-digit code such as #3b82f6 into the HEX Value box.
- 2
Check the preview
The wide preview bar below the inputs fills with the selected color so you can judge it at a larger size before using it.
- 3
Read the five color codes
The cards show the same color as HEX, RGB, HSL, HSV and CMYK, and they update instantly whenever you change the color.
- 4
Copy a value or a palette shade
Press Copy on any card to put that code on your clipboard, or click one of the five Generated Palette swatches to copy its hsl() value.
The HEX box takes the full six-digit form starting with #, so enter #ffffff rather than the shorthand #fff or ffffff without the hash.
Color Code Formats Explained
Every format describes the same color in a different way, and each has a place it fits best. Here is #3b82f6, a medium blue, exactly as the tool reports it:
| Format | Value for #3b82f6 | Typical use |
|---|---|---|
| HEX | #3b82f6 | CSS, HTML, design handoff, brand guidelines |
| RGB | rgb(59, 130, 246) | CSS, canvas and most code that works with pixels |
| HSL | hsl(217, 91%, 60%) | CSS themes where you adjust lightness for variants |
| HSV | hsv(217, 76%, 96%) | Design apps whose pickers use hue, saturation and brightness |
| CMYK | cmyk(76%, 47%, 0%, 4%) | A starting point for print work |
A HEX code is simply RGB written in base 16. Each pair of digits is one channel, so 3b is 3 × 16 + 11 = 59, 82 is 8 × 16 + 2 = 130 and f6 is 15 × 16 + 6 = 246. If you want to practise the base-16 arithmetic, the binary converter shows any number in binary, decimal and hexadecimal at once.
How HEX Becomes HSL, HSV and CMYK
All three conversions start by scaling each RGB channel to a fraction between 0 and 1. For HSL, lightness is the average of the largest and smallest channel, saturation measures how far apart they are, and hue is the angle on the color wheel set by whichever channel is strongest. HSV uses the same hue, but its value is just the largest channel, which is why #FF5733 shows hsl(11, 100%, 60%) yet hsv(11, 80%, 100%).
For CMYK the tool uses the standard formula: black (K) is 1 minus the largest channel, and each of cyan, magenta and yellow is (1 − channel − K) / (1 − K). For #FF5733 that gives K = 0, magenta 66% and yellow 80%. A neutral gray such as #808080 comes out as cmyk(0%, 0%, 0%, 50%), black ink only. Because no printer profile is applied, treat the CMYK values as a guide and confirm brand colors with your print provider.
Building a Palette from One Color
The Generated Palette keeps your color’s hue and saturation and steps only the lightness. For #3b82f6 that produces hsl(217, 91%, 20%), 40%, 60%, 80% and 100%: two deep shades for text or pressed states, the base tone, a soft tint for backgrounds, and white at 100%, which is where every HSL color ends up. Click any swatch to copy its hsl() string straight into your stylesheet.
Once you have two or three colors you like, blend them in the CSS gradient generator for a linear or radial background, and run the finished stylesheet through the CSS minifier before you ship it. The same HEX codes work for brand assets too: enter them in the text color picker of Add Text to Image to caption graphics in your exact brand color.
Common uses
- Grabbing a CSS-ready HEX, rgb() or hsl() value for a website or app
- Converting a brand color from HEX to RGB, HSL or CMYK for a style guide
- Translating a color between a design app that uses HSV and code that uses HEX
- Creating darker and lighter variants of one color for buttons, borders and backgrounds
- Getting an approximate CMYK value before sending a design to print
Picked a brand color for a logo? Turn the artwork into site icons with the favicon generator, or rasterize a colored vector logo with SVG to PNG. For more image utilities, browse all image tools.
Color model terms explained
| Term | What it means here |
|---|---|
| HEX | A six-digit hexadecimal code, #RRGGBB, where each pair is one channel from 00 (0) to FF (255) |
| RGB | Red, green and blue light values from 0 to 255; the native model of screens and the one HEX encodes |
| HSL | Hue (0-360 degrees), saturation and lightness (0-100%); handy for making a color lighter or darker in CSS |
| HSV / HSB | Hue, saturation and value (brightness); the model behind the square in most design-app color pickers |
| CMYK | Cyan, magenta, yellow and key (black) ink percentages used in printing |
| Tint and shade | A tint is a color mixed toward white, a shade toward black; the palette here steps lightness to give both |
Frequently Asked Questions
It takes one color, picked with your browser’s color picker or typed as a HEX code, and shows it as HEX, RGB, HSL, HSV and CMYK at the same time, each with a Copy button. It also generates a five-swatch palette from the same hue and saturation at 20%, 40%, 60%, 80% and 100% lightness.
Type the HEX code into the HEX Value box and read the RGB card. Behind the scenes each pair of hex digits is converted to a decimal number from 0 to 255: in #FF5733, FF is 255, 57 is 87 (5 x 16 + 7) and 33 is 51 (3 x 16 + 3), giving rgb(255, 87, 51).
There is no RGB input box, so use the picker: most browsers let you switch the color dialog to RGB and enter the three numbers, and the HEX card then shows the code. By hand, convert each channel from 0-255 to a two-digit hexadecimal number and join them, so rgb(59, 130, 246) becomes #3B82F6.
Not reliably. The tool expects the full six-digit form, so type #ffffff instead of #fff. While you are still typing a partial code the values are not valid; they settle as soon as all six digits are entered.
It uses the standard mathematical conversion from RGB with no printer color profile, so it is a good starting point but not a press-ready value. Real print output depends on the paper, ink and ICC profile, so confirm critical brand colors with your printer or design software.
Both share the same hue, but HSL measures lightness, where 100% is always white, while HSV measures value or brightness, where 100% is the purest version of the color. For #FF5733 the tool shows hsl(11, 100%, 60%) and hsv(11, 80%, 100%).
The palette keeps your color’s hue and saturation and sets the lightness to 20%, 40%, 60%, 80% and 100%. The 20% and 40% swatches are darker shades, 60% and 80% are lighter tints, and the 100% swatch is always pure white because 100% lightness in HSL is white for every hue.
No. It works with solid colors only, so the HEX, RGB and HSL outputs have no alpha channel. To make a color semi-transparent in CSS, add the alpha yourself, for example rgb(59 130 246 / 50%).
The tool has no image upload of its own. Some browsers include an eyedropper inside their native color picker that can sample a color from the screen; where it is available, it appears when you click the Pick a Color swatch.
It is free with no sign-up, and every conversion happens in your browser. No color you pick or type is sent to a server.
Reviewed by Raja Jahangir · Last reviewed: October 7, 2026
Browse named colors
- #000000 Black
- #FFFFFF White
- #FF0000 Red
- #00FF00 Lime
- #0000FF Blue
- #FFFF00 Yellow
- #00FFFF Cyan
- #FF00FF Magenta
- #C0C0C0 Silver
- #808080 Gray
- #800000 Maroon
- #808000 Olive
- #008000 Green
- #800080 Purple
- #008080 Teal
- #000080 Navy
- #FFA500 Orange
- #FFC0CB Pink
- #FF7F50 Coral
- #FA8072 Salmon
- #FFD700 Gold
- #F0E68C Khaki
- #EE82EE Violet
- #4B0082 Indigo
- #40E0D0 Turquoise
- #DC143C Crimson
- #D2691E Chocolate
- #D2B48C Tan
- #F5F5DC Beige
- #FFFFF0 Ivory
- #E6E6FA Lavender
- #DDA0DD Plum
- #DA70D6 Orchid
- #87CEEB Skyblue
- #4682B4 Steelblue
- #4169E1 Royalblue
- #6A5ACD Slateblue
- #1E90FF Dodgerblue
- #00BFFF Deepskyblue
- #7FFFD4 Aquamarine
- #00FF7F Springgreen
- #2E8B57 Seagreen
- #228B22 Forestgreen
- #006400 Darkgreen
- #6B8E23 Olivedrab
- #9ACD32 Yellowgreen
- #ADFF2F Greenyellow
- #7FFF00 Chartreuse
- #7CFC00 Lawngreen
- #32CD32 Limegreen
- #3CB371 Mediumseagreen
- #2F4F4F Darkslategray
- #556B2F Darkolivegreen
- #BDB76B Darkkhaki
- #DAA520 Goldenrod
- #B8860B Darkgoldenrod
- #CD853F Peru
- #A0522D Sienna
- #A52A2A Brown
- #B22222 Firebrick
- #8B0000 Darkred
- #CD5C5C Indianred
- #F08080 Lightcoral
- #BC8F8F Rosybrown
- #E9967A Darksalmon
- #FFA07A Lightsalmon
- #FF6347 Tomato
- #FF4500 Orangered
- #FF8C00 Darkorange
- #FFDAB9 Peachpuff
- #F4A460 Sandybrown
- #DEB887 Burlywood
- #F5DEB3 Wheat
- #FFDEAD Navajowhite
- #FFE4C4 Bisque
- #FFEBCD Blanchedalmond
- #FFF8DC Cornsilk
- #FFFACD Lemonchiffon
- #FFFFE0 Lightyellow
- #EEE8AA Palegoldenrod
- #FFE4B5 Moccasin
- #FFE4E1 Mistyrose
- #FFF0F5 Lavenderblush
- #FFF5EE Seashell
- #FAF0E6 Linen
- #FDF5E6 Oldlace
- #FFEFD5 Papayawhip
- #FAEBD7 Antiquewhite
- #FFFAF0 Floralwhite
- #F8F8FF Ghostwhite
- #F0FFF0 Honeydew
- #F5FFFA Mintcream
- #F0FFFF Azure
- #F0F8FF Aliceblue
- #F5F5F5 Whitesmoke
- #DCDCDC Gainsboro
- #D3D3D3 Lightgray
- #A9A9A9 Darkgray
- #696969 Dimgray
- #778899 Lightslategray
- #708090 Slategray
- #B0C4DE Lightsteelblue
- #B0E0E6 Powderblue
- #ADD8E6 Lightblue
- #AFEEEE Paleturquoise
- #48D1CC Mediumturquoise
- #00CED1 Darkturquoise
- #20B2AA Lightseagreen
- #5F9EA0 Cadetblue
- #008B8B Darkcyan
- #483D8B Darkslateblue
- #7B68EE Mediumslateblue
- #9370DB Mediumpurple
- #8A2BE2 Blueviolet
- #9400D3 Darkviolet
- #9932CC Darkorchid
- #BA55D3 Mediumorchid
- #D8BFD8 Thistle
- #8B008B Darkmagenta
- #FF69B4 Hotpink
- #FF1493 Deeppink
- #DB7093 Palevioletred
- #C71585 Mediumvioletred
- #FFB6C1 Lightpink
- #6495ED Cornflowerblue
- #191970 Midnightblue
- #0000CD Mediumblue
- #00008B Darkblue
- #FAFAD2 Lightgoldenrodyellow
- #00FA9A Mediumspringgreen
- #98FB98 Palegreen
- #90EE90 Lightgreen
- #8FBC8F Darkseagreen
- #66CDAA Mediumaquamarine
How do you get the HEX, RGB, HSL and CMYK values of a colour?
Pick a colour with the swatch or type a HEX code, and the same colour is shown as HEX, RGB, HSL, HSV and CMYK, each with a copy button. For example, #FF5733 is rgb(255, 87, 51), hsl(11, 100%, 60%), hsv(11, 80%, 100%) and cmyk(0%, 66%, 80%, 0%). A five-shade palette at 20% to 100% lightness is generated too.
How do you convert HEX to RGB by hand?
Split the six-digit HEX code into three pairs and convert each pair from hexadecimal to decimal. In #FF5733, FF is 255, 57 is 87 (5×16+7) and 33 is 51 (3×16+3), giving rgb(255, 87, 51). Each channel ranges from 00 (0) to FF (255), and #000000 is black while #FFFFFF is white.
