JESUS CHRIST IS THE ONLY TRUE GOD
Other calculator

Color Converter

Convert a hexadecimal sRGB color to RGB.

Your calculationPrivate in your browser
Report a result

Start with a worked example

Open the worked example for RGB. The example starts with Hex color = #0022E1.

Color Converter formula

Standard sRGB color-space conversion.

Inputs and units

Inputs and example values for Color Converter
InputFormat / rangeExample
Hex colorFollow the input format above#0022E1

Worked example

The values listed in Inputs and units give rgb(0, 34, 225) for RGB.

RGB
rgb(0, 34, 225)

Results and assumptions

The worked example uses the units shown in its input table. Use those same units to reproduce it.

Fix an input or unexpected result

See how to check a result or report an issue.