Free online tool

Pick a color and convert its values

Select a color and view equivalent HEX, RGB, and HSL representations for a design palette or a CSS declaration.

Quick answer

Quick answer

Pick a colour and the tool shows its HEX, RGB and HSL values ready to copy into CSS or a design file. Its preset example is #ED8C6A, which is rgb(237, 140, 106) and hsl(16, 78%, 67%). HSL is handy for palettes: keep the hue and change only the lightness to build matching tints and shades.

Open the interactive Color Picker & Converter

The interactive tool loads in the page. Enable JavaScript to enter data, process content, and download results.

Example result — no JavaScript needed to read this

The interactive tool opens with this preset color. Change it in the tool to get any other color in the same formats.

HEX#ED8C6A
RGBrgb(237, 140, 106)
HSLhsl(16, 78%, 67%)

About this tool

About the Color Picker & Converter

Select a color and view equivalent HEX, RGB, and HSL representations for a design palette or a CSS declaration.

Detailed guide

How to get useful results from Color Picker & Converter

Pick colors and convert HEX, RGB, and HSL

Designers, front-end developers, marketers, and content creators constantly move colors between tools such as Figma, Canva, Photoshop, CSS files, and brand guidelines. Each tool may expect a different notation. This free online color picker and converter lets you choose a color visually and instantly see equivalent HEX, RGB, and HSL values with a swatch preview. Copy the format you need for a stylesheet, design system, presentation template, or social media graphic. It runs entirely in your browser with no signup, making it a quick companion for daily design and web development work.

Understanding color formats

HEX codes such as #1A73E8 are compact and widely used in web design and brand guides. RGB describes a color by its red, green, and blue channels from 0 to 255, which matches how screens display light. HSL describes hue, saturation, and lightness, making it intuitive for creating variations: keep the hue the same and adjust lightness to build tints and shades for buttons, backgrounds, and hover states. All three formats are supported in modern CSS, so you can paste values directly into properties such as color, background-color, and border-color.

Building accessible color palettes

Good color choices improve readability for everyone, including people with low vision or color vision deficiencies. Ensure enough contrast between text and background; the WCAG accessibility guidelines recommend a contrast ratio of at least 4.5:1 for normal body text. Do not rely on color alone to communicate meaning, such as errors or status, and pair colors with text labels or icons. Keep a small, consistent palette for your brand and document its HEX and RGB values. Remember that colors can look different across screens and in print, where CMYK values are used.

Developers often use HSL values to build design tokens and theme systems, because adjusting only the lightness channel makes it easy to create consistent hover, active, and disabled states. Designers can share the same color in several formats so that every team member, whatever tool they use, applies exactly the same brand color.

Quick guide

How to use this tool

  1. 01Choose a color with the picker or enter a value.
  2. 02Review its HEX, RGB, and HSL representations.
  3. 03Copy the format you need.

Capabilities

Features and supported formats

  • Visual color picker and swatch preview.
  • Converts between common web color notations.
  • Copy-ready values for design and CSS.

Supported formats

Color values: HEX, RGB, and HSL.

Answers

Frequently asked questions

Which color formats does it show?

The tool shows HEX, RGB, and HSL values for the selected color.

Can I use the value in CSS?

Yes. Copy the RGB or HEX value into your stylesheet; verify contrast separately for accessible text and backgrounds.

Can I convert HEX to RGB with this tool?

Yes. Choose or enter a color and the tool shows its HEX, RGB, and HSL equivalents, ready to copy.

Does this tool provide CMYK values for print?

No. It focuses on web color formats. For professional printing, confirm CMYK or Pantone values with your designer or printer.

How do I convert HEX to RGB?

Split the six-digit HEX code into three pairs and convert each pair from hexadecimal to decimal. For example, #FF5733 becomes red 255, green 87, and blue 51, written as rgb(255, 87, 51). This tool does the conversion instantly and also shows the HSL value.

What is the difference between HEX, RGB, and HSL?

HEX is a compact six-digit code used in CSS and design files. RGB describes a color by its red, green, and blue channels from 0 to 255. HSL describes the same color by hue, saturation, and lightness, which makes it easier to create lighter or darker shades of one color.