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
| Input | Format / range | Example |
|---|---|---|
| Hex color | Follow 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.
