TXT · Text & Data tools

HEX to RGB Converter

Active color#000000
Hex Input
RGB Output
1Active Line0Valid Items
Go To Full Color Converter

HEX to RGB conversion

Paste your hex codes into the input pane to receive standard CSS rgb() strings. The tool accepts both 6-digit (#RRGGBB) and 3-digit (#FFF) shorthand forms. Since a hex code is simply RGB channels written in base 16, the conversion is lossless, returning exact integer values from 0 to 255.

Active color tracking

The visual color picker synchronizes with your cursor position. Clicking a line in the input pane updates the picker to preview that specific color. Dragging a new value in the picker automatically overwrites the active line with the updated hex string.

Batch list processing

The tool processes multiple colors simultaneously. Paste a list of hex values, one per line, to convert an entire palette at once. The output pane mirrors your line breaks, generating a matching list of RGB values that can be copied directly to your clipboard.

Frequently Asked Questions

Six-digit codes like #22D3EE and 3-digit shorthand like #fff, which expands to #ffffff. Paste one color per line for batch conversion.

Yes. A hex code is just RGB channels written in base 16, so #22D3EE and rgb(34, 211, 238) are the same color with no rounding.

CSS rgb(r, g, b) with integer channels from 0 to 255.

Each line must be a valid hex code with the leading # and only the digits 0–9 or A–F. A length other than 3 or 6 digits, or a stray character, stops that line from parsing.

No.

Try one of our format-specific converters below

Full Color Converter tool

Explore Our Tools

Browse all tools