RGB to HEX Converter
Convert Red, Green, and Blue (0–255) color channel values into a 6-digit hexadecimal color code.
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.
Enter a 6-digit (#RRGGBB) or 3-digit (#RGB) hexadecimal color.
NormalizedHEX: #1E3A8A
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.
You need the R, G, B channel values for brand blue #1E88E5.
Used when copying colors from Figma/CSS into Adobe InDesign, Illustrator, Keynote, or presentation templates.
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).
Convert Red, Green, and Blue (0–255) color channel values into a 6-digit hexadecimal color code.
Calculate estimated Cyan, Magenta, Yellow, and Key (Black) percentages and Total Ink Coverage from RGB.
Calculate WCAG 2.1 contrast ratio between foreground text and background colors for AA and AAA legibility.
Blend any two HEX colors and generate intermediate 10%, 25%, 50%, 75%, and 90% color swatches.
Explore related mathematical concepts, ISO standards, and prepress calculators.
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.