Skip to content

HEX to RGB Converter

Convert hexadecimal color codes to decimal Red, Green, Blue values instantly in your browser.

Visual Color Picker
#14b8a6
Color Conversions

Complementary Palette

Analogous Palette

Triadic Palette

Monochromatic Palette

135°

Drag & Drop Image or Click to Browse

Supported: JPEG, PNG, GIF, SVG, WebP (max 10 MB)

Extracted Details
Hover Pixel Color:
#ffffff
Selected Color:
—

Hover over the image to preview pixel colors. Click to select and load that color into the main converter fields (HEX, RGB, HSL, CMYK).

Sample Text Display
Contrast Ratio 4.5:1
Small Text (WCAG AA - 4.5:1) Pass
Large Text (WCAG AA - 3.0:1) Pass
Small Text (WCAG AAA - 7.0:1) Pass
Large Text (WCAG AAA - 4.5:1) Pass

What is the HEX to RGB Converter?

Convert HEX color codes to RGB values online. Easy, fast, and local in-browser hex to rgb color converter, palette builder, and visual picker.

How to use the HEX to RGB Converter?

  1. Enter your 3-digit or 6-digit HEX color code (e.g. #14b8a6 or #fff) in the HEX input box.
  2. The tool will instantly output the matching RGB values (e.g. rgb(20, 184, 166)) in the RGB field.
  3. Click 'Copy' to copy the formatted RGB CSS string to your clipboard.

Frequently Asked Questions

How does HEX to RGB conversion work?

HEX represents colors in base-16 (hexadecimal) where pairs of characters denote Red, Green, and Blue intensities (from 00 to FF). RGB represents these intensities as base-10 integers from 0 to 255. For example, #FF0000 has R=FF (255), G=00 (0), and B=00 (0).

Can I use shorthand 3-digit HEX codes?

Yes! Shorthand HEX codes like #F00 are converted by doubling each character (producing #FF0000) before calculating RGB values.