Home/Color Picker
Free RGB & HEX Color Picker

Free Online RGB & HEX Color Picker: HSB & HSL Codes

Use this free online color picker as an RGB color picker, hex color picker, and HSB color picker in one tool. Pick any color and get its HEX, RGB, HSB (HSV), HSL, and CMYK codes instantly. Find any hex code, edit any value and the rest update, check contrast ratios, build a shade palette, and copy any format in one click. No signup, 100% browser-based.

Type a HEX code (with or without #) to use this hex color picker, or click the swatch to pick

Adjust Color (RGB, HSB & HSL Sliders)
Red
Green
Blue
All Color Formats
HEX#7C3AED
RGBrgb(124, 58, 237)
HSLhsl(262, 83%, 58%)
HSBhsb(262, 76%, 93%)
CMYKcmyk(48%, 76%, 0%, 7%)

HSB is the same color model as HSV.

Contrast Ratio (WCAG)
Aa

5.69:1

vs White

AA Pass
Aa

3.68:1

vs Black

AA Large
Tints & Shades (Tailwind-style 50-900)
Quick Presets
No sign-upInstant HEX to RGB conversionRuns in your browserNothing stored100% free

How to Use This RGB and HEX Color Picker in 3 Simple Steps

1

Pick or Enter a Color

Click the swatch to open the native picker, type a HEX code, or drag the RGB, HSB, or HSL sliders. In Chrome and Edge you can also pick any color from your screen to find its hex code.

2

View All Formats

Instantly see your color in HEX, RGB, HSL, HSB (HSV), and CMYK, plus contrast ratios and a full shade palette. Edit any value and the rest update.

3

Copy & Use

Click the Copy button next to any format and paste the hex color code or RGB value straight into Figma, CSS, Tailwind, or any design tool.


Why Use Our Online Color Picker?

5 Formats at Once

Use one tool as an RGB color picker, hex color picker, and HSB color picker. Convert to HEX, RGB, HSL, HSB, and CMYK simultaneously. Edit any of them and the others follow.

WCAG Contrast Check

Instantly see accessibility contrast ratios against white and black backgrounds with WCAG pass/fail.

Full Shade Palette

Get a complete 10-step, Tailwind-style shade palette from any hex color or RGB value, ready for your design system.


HEX to RGB Color Picker: What Does It Mean?

HEX (hexadecimal) and RGB (Red, Green, Blue) are two ways to express the same color digitally. HEX codes like #7C3AED are common in CSS and HTML. RGB values like rgb(124, 58, 237) are used in CSS, design tools, and image processing. This hexadecimal color picker and RGB color chooser converts between the two as you type. When designing structured documents or digital layouts, pairing solid colors with clear web text formatted using a Lorem Ipsum Generator or checking layout character limits with our Word Counter improves UI precision.

Our tool goes further. It also converts to HSL (used in modern CSS), HSB, also called HSV (the model behind the color pickers in Photoshop and Figma), and CMYK (used in print design). If you are preparing JSON data schemes or encoding color palettes into configuration strings, you can also process data formatted via our JSON Formatter or encode output using the Base64 Encoder.

Need a quick hex code finder or color hex finder? Pick a color on the swatch, or use Pick from screen in Chrome and Edge, and the hex color code shows up right away. It also works as an RGB color finder, so you can look up the RGB value, RGB code, or HSB value of any color online for free.

HEX vs RGB vs HSB vs HSL: Which One Should You Use?

→HEX: The shortest way to write a color in CSS and HTML. Best for copying a single brand color.
→RGB: Red, green, and blue from 0 to 255. Best when you need to work with channels or transparency in code.
→HSB (HSV): Hue, saturation, brightness. How Photoshop and Figma pickers think, so it is great for choosing a color by eye.
→HSL: Hue, saturation, lightness. Works directly in CSS and makes lighter or darker variants easy to build.
→CMYK: Cyan, magenta, yellow, black. Used for print, so check the result with your printer.

Common Use Cases

Convert brand HEX colors to RGB for CSS variables
Find the HEX code of a color on your screen (Chrome and Edge)
Use it as a hex code finder or color hex finder
Check WCAG accessibility contrast ratios
Generate Tailwind-style color palettes from a brand color
Convert RGB values to HEX for HTML attributes
Find the RGB code of any color with the RGB color finder
Get HSB values to match Photoshop or Figma
Get CMYK values for print design workflows
Pick colors visually and copy to Figma or VS Code

Who Should Use This Color Picker?

→UI/UX designers: work across color formats fast
→Web developers: get exact CSS color values
→Brand designers: build consistent color systems
→Accessibility auditors: verify contrast compliance
→Print designers: convert RGB to CMYK for print
→Everyone: anyone working with digital color

Features

Visual color picker with native browser input
RGB, HSB, and HSL sliders with live gradient tracks
HEX, RGB, HSL, HSB (HSV), CMYK all at once
Edit any value and every format updates
Pick a color from your screen (Chrome and Edge)
WCAG contrast ratio vs white and black
10-step Tailwind-style shade palette generator
15 quick-access preset colors
One-click copy for every format
Works as an online hex color picker and rgb color picker
Nothing stored, full privacy

Frequently Asked Questions

What is a HEX color code?

A HEX color code, also called a hexadecimal color code, is a 6-digit value prefixed with # that represents a color in the RGB color model. Each pair of digits represents the intensity of the Red, Green, and Blue channels. Use this hex color picker to find the code of any color. If you need to standardize casing in CSS or code configs, try our Case Converter.

How do I find the HEX code of a color?

Use this hex code finder: pick the color with the swatch, the sliders, or the Pick from screen button (Chrome and Edge). The HEX code appears in the HEX field and in the first row of All Color Formats, ready to copy. It works as a color hex finder and hex color picker online for free.

How do I convert HEX to RGB with this RGB color picker?

Split the 6-digit HEX into three pairs, then convert each pair from base-16 to base-10. For example, #FF8800 becomes R=255, G=136, B=0. Our online color picker does this instantly: type the HEX code and read the RGB value, or move the RGB sliders to find the HEX code. No manual code formatting or data parsing is needed.

How do I convert RGB to HEX online?

Open the RGB sliders (or type the Red, Green, and Blue numbers from 0 to 255) and the HEX code updates at once. For example, rgb(124, 58, 237) becomes #7C3AED. This rgb to hex color picker works as an RGB color finder and a color code from RGB generator, and you can copy the result in one click.

What is HSB (HSV), and how is it different from HSL?

HSB (Hue, Saturation, Brightness) is the same model as HSV (Hue, Saturation, Value), and it is the model behind the color pickers in Photoshop and Figma. This HSB color picker lets you choose a color the same way. HSL (Hue, Saturation, Lightness) is the model CSS supports through the hsl() function, so you can also use the tool as a hue saturation lightness color picker. In HSB, 100% brightness gives the purest version of a hue; in HSL, 50% lightness does, and 100% lightness is white. HSL is widely used in CSS alongside mock copy from our Lorem Ipsum Generator.

What is CMYK and when is it used?

CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in color printing. Unlike RGB which adds light, CMYK subtracts light on a white medium. Use CMYK values when preparing physical media layouts. The CMYK shown here is a simple conversion from RGB, so a print shop may adjust it using a color profile.

What is contrast ratio and why does it matter?

Contrast ratio measures how distinguishable text is against its background. WCAG guidelines require at least 4.5:1 for normal text and 3:1 for large text. This RGB color checker shows the ratio of your color against white and black. You can measure word density and text sizing using our Word Counter.

Can I pick a color from my screen?

Yes, in browsers that support the EyeDropper API, mainly Chrome and Edge. A Pick from screen button appears next to the HEX field. Click it, then click any pixel on your screen to find its hex code or RGB value. In other browsers, use the swatch, the HEX field, or the sliders.

Can I use the RGB and HEX color picker on mobile?

Yes. The tool is fully responsive and works on mobile devices as a hex color picker online and an rgb color picker online. Tap the color swatch to open your native device color picker, or paste string values clean using our Case Converter.

What are color shades and tints?

Shades are darker variations of a color (mixed with black) and tints are lighter variations (mixed with white). The palette uses Tailwind-style names (50 to 900) and is calculated from the color you picked, so it will not match the official Tailwind palette exactly.

Is my color data stored anywhere?

No. Everything runs 100% in your browser, and no color data is sent to any server. If you work with web configuration files, you can also format your payloads securely using our browser-based JSON Formatter or encode assets via Base64 Encoder.


Ready to find your HEX or RGB color code?

Takes 2 seconds. No signup. No ads.