Skip to content
KitWren
Website

HEX to RGB Converter

Convert a HEX colour code to RGB (and HSL, CMYK) instantly.

  1. Paste your input
  2. Choose the options
  3. Copy the output
Runs in your browser. Your data and files never leave your device.

About the HEX to RGB Converter

Each pair of hex digits is one channel: #ff6347 is red ff (255), green 63 (99) and blue 47 (71).

HEX to RGB Converter formula

R = hex[1..2] in base 16
G = hex[3..4] in base 16
B = hex[5..6] in base 16

Frequently asked questions

What about 3-digit and 8-digit hex codes?

#f63 is shorthand for #ff6633. An 8-digit code like #ff663380 adds an alpha (transparency) channel as the last pair.