KiloAtlas
EN
EnglishBahasa IndonesiaTiếng Việt

HEX to RGB converter

Read RGB channels from a hexadecimal color.

RGB color

—
Red
—
Green
—
Blue
—

Your result is calculated in your browser.

Formula

Each hex pair becomes one base-10 RGB channel.

How to use

  1. Enter a 3 or 6 digit hex code.
  2. Use an optional leading #.
  3. Copy RGB and inspect each channel.

Examples

  • #f80 = rgb(255, 136, 0).

Frequently asked questions

What is RGB?

Red, green and blue channel values, each from 0 to 255.

How does shorthand work?

#f80 expands to #ff8800 by doubling each digit.

Is alpha supported?

No. This tool accepts opaque 3 or 6 digit colors.

Sources

Updated:

Related tools

Search conversion tools