In RGB color space, #0420b2 hex color has a red value of 4, a green value of 32 and a blue value of 178.
In CMYK color space (used in color printing), #0420b2 hex color is composed of 97.75% cyan, 82.02% magenta, 0% yellow and 30.2% black.
#0420b2 color has a hue of 230.3 degrees, a saturation of 95.6% and a lightness of 35.7%.
#0420b2 hex color contains mainly BLUE.
The closest web safe color of #0420b2 is #003399
#0420b2 hex color has a decimal value of 270514.
HEX | 0420b2 | #0420b2 |
---|---|---|
RGB | 4, 32, 178 | rgb(4, 32, 178) |
RGB Percent | 1.57, 12.55, 69.8 | rgb(1.57, 12.55, 69.8) |
CMYK | 98, 82, 0, 30 | |
HSL | 230.3°, 95.6, 35.7 | hsl(230.3, 95.6%, 35.7%) |
HSV | 230.3°, 97.8, 69.8 |
XYZ | 8.602, 4.273, 42.491 |
---|---|
Hunter Lab | 20.671, 38.105, -107.404 |
CIE-LAB | 24.554, 49.684, -76.232 |
CIE-LCH | 24.554, 90.994, 303.094 |
CIE-LUV | 97.75, 82.02, 0, 30.2 |
Web Safe | 003399 |
RGB percent of color #0420b2
CMYK percent of color #0420b2
Text with hexadecimal color #0420b2
This text has a font color of #0420b2
<p style="color:#0420b2">Text here</p>
#0420b2 Background Color
This box has a background color of #0420b2
<div style="background-color:#0420b2">Text here</div>
#0420b2 Border Color
This box has a border color of #0420b2
<div style="border: 4px solid #0420b2">Text here</div>
CSS codes
<p style="color:#0420b2">Text here</p>
<div style="background-color:#0420b2">Text here</div>
<div style="border: 4px solid #0420b2">Text here</div>
#0420b2 Color on white background
This is how a font and box color of #0420b2 will look
on a white background.
#0420b2 Color on black background
This is how a font and box color of #0420b2 hex color will look
on a black background.