In RGB color space, #0042a2 hex color has a red value of 0, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #0042a2 hex color is composed of 100% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#0042a2 color has a hue of 215.6 degrees, a saturation of 100% and a lightness of 31.8%.
#0042a2 hex color contains mainly BLUE.
The closest web safe color of #0042a2 is #003399
#0042a2 hex color has a decimal value of 17058.
HEX | 0042a2 | #0042a2 |
---|---|---|
RGB | 0, 66, 162 | rgb(0, 66, 162) |
RGB Percent | 0, 25.88, 63.53 | rgb(0, 25.88, 63.53) |
CMYK | 100, 59, 0, 36 | |
HSL | 215.6°, 100, 31.8 | hsl(215.6, 100%, 31.8%) |
HSV | 215.6°, 100, 63.5 |
XYZ | 8.47, 6.505, 34.992 |
---|---|
Hunter Lab | 25.505, 14.645, -63.491 |
CIE-LAB | 30.652, 22.245, -56.558 |
CIE-LCH | 30.652, 60.775, 291.47 |
CIE-LUV | 100, 59.26, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #0042a2
CMYK percent of color #0042a2
Text with hexadecimal color #0042a2
This text has a font color of #0042a2
<p style="color:#0042a2">Text here</p>
#0042a2 Background Color
This box has a background color of #0042a2
<div style="background-color:#0042a2">Text here</div>
#0042a2 Border Color
This box has a border color of #0042a2
<div style="border: 4px solid #0042a2">Text here</div>
CSS codes
<p style="color:#0042a2">Text here</p>
<div style="background-color:#0042a2">Text here</div>
<div style="border: 4px solid #0042a2">Text here</div>
#0042a2 Color on white background
This is how a font and box color of #0042a2 will look
on a white background.
#0042a2 Color on black background
This is how a font and box color of #0042a2 hex color will look
on a black background.