Color ToolsBrowser-based calculationInstant output

HEX to RGB Color Converter for Designers

Brand style guides and web stylesheets frequently supply colors as 6-digit hexadecimal strings (such as #1E3A8A), while desktop layout software, 3D shaders, and color sliders often require individual Red, Green, and Blue integer channels from 0 to 255. Enter any HEX value to extract its RGB components.

HEX Color Input

Enter a 6-digit (#RRGGBB) or 3-digit (#RGB) hexadecimal color.

RGB Color Values
rgb(30, 58, 138)

NormalizedHEX: #1E3A8A

Red (R)
30
Green (G)
58
Blue (B)
138
Normalized (0–1)
0.12, 0.23, 0.54
Approx. CMYK
C:78% M:58% Y:0% K:46%
HEX Code
#1E3A8A

Hexadecimal (Base-16) to Decimal (Base-10) Formula

Channel (0–255) = (First Hex Digit × 16) + Second Hex Digit

A 6-character HEX code (#RRGGBB) consists of three two-digit base-16 numbers representing Red, Green, and Blue. Hex digits A–F represent decimal values 10–15.

How to Use This Calculator

  1. Type or paste a 6-digit (e.g., #2563EB) or 3-digit (e.g., #09F) HEX color code, or use the color picker.
  2. View the formatted rgb(R, G, B) string, individual R, G, and B channel values, and normalized 0–1 floats.
  3. Copy any color format with a single click.

Worked Example: Converting #1E88E5 to RGB

You need the R, G, B channel values for brand blue #1E88E5.

1. Red (1E) = (1 × 16) + 14 = 30
2. Green (88) = (8 × 16) + 8 = 136
3. Blue (E5) = (14 × 16) + 5 = 229
Final Output: rgb(30, 136, 229)

When Designers Use the HEX to RGB Converter

Used when copying colors from Figma/CSS into Adobe InDesign, Illustrator, Keynote, or presentation templates.

Practical Prepress & Design Advice

  • • Both HEX and RGB represent the exact same additive color model (usually sRGB)—converting between HEX and RGB is 100% lossless.

Common Mistakes to Avoid

  • • Swapping the order of Green and Blue byte pairs when transcribing values manually.

HEX to RGB Converter – Frequently Asked Questions

No. HEX is simply a base-16 notation for the exact same 0–255 Red, Green, and Blue values.

A 3-digit HEX code like #F80 duplicates each character to form a 6-digit code: #FF8800 (R: 255, G: 136, B: 0).

#000000 is pure black rgb(0, 0, 0) and #FFFFFF is pure white rgb(255, 255, 255).

Related Print & Design Calculators

View all 40 tools →
Color Tools

RGB to HEX Converter

Convert Red, Green, and Blue (0–255) color channel values into a 6-digit hexadecimal color code.

Color Tools

RGB to CMYK Converter

Calculate estimated Cyan, Magenta, Yellow, and Key (Black) percentages and Total Ink Coverage from RGB.

Color Tools

Color Contrast Checker

Calculate WCAG 2.1 contrast ratio between foreground text and background colors for AA and AAA legibility.

Color Tools

HEX Color Mixer

Blend any two HEX colors and generate intermediate 10%, 25%, 50%, 75%, and 90% color swatches.

Connected Print & Prepress Entities for HEX to RGB Converter

Explore related mathematical concepts, ISO standards, and prepress calculators.

Color Tools Hub →

Six-digit hexadecimal representation of sRGB color channels used in CSS, SVG, and UI design.

Subtractive four-color process printing model using Cyan, Magenta, Yellow, and Key (Black) inks.

Relative luminance ratio (1:1 to 21:1) governing accessible text legibility under WCAG 2.1 AA and AAA.

Additive digital light model combining Red, Green, and Blue channels from 0 to 255.