Image Tools

Color Picker & Palette Generator

This free Color Picker shows any color as HEX, RGB, HSL, HSV and CMYK at once: pick it with your browser's color picker or type a six-digit HEX code, then copy any format with one click. It also builds a five-swatch palette from the same hue and saturation at 20% to 100% lightness, and everything runs in your browser.

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. 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. 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. 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. 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:

FormatValue for #3b82f6Typical use
HEX#3b82f6CSS, HTML, design handoff, brand guidelines
RGBrgb(59, 130, 246)CSS, canvas and most code that works with pixels
HSLhsl(217, 91%, 60%)CSS themes where you adjust lightness for variants
HSVhsv(217, 76%, 96%)Design apps whose pickers use hue, saturation and brightness
CMYKcmyk(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

TermWhat it means here
HEXA six-digit hexadecimal code, #RRGGBB, where each pair is one channel from 00 (0) to FF (255)
RGBRed, green and blue light values from 0 to 255; the native model of screens and the one HEX encodes
HSLHue (0-360 degrees), saturation and lightness (0-100%); handy for making a color lighter or darker in CSS
HSV / HSBHue, saturation and value (brightness); the model behind the square in most design-app color pickers
CMYKCyan, magenta, yellow and key (black) ink percentages used in printing
Tint and shadeA tint is a color mixed toward white, a shade toward black; the palette here steps lightness to give both

Frequently Asked Questions

Reviewed by Raja Jahangir · Last reviewed: October 7, 2026

Browse named colors

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.

Sources and standards

Guides for Color Picker & Palette Generator