In RGB color space, #0042a0 hex color has a red value of 0, a green value of 66 and a blue value of 160.
In CMYK color space (used in color printing), #0042a0 hex color is composed of 100% cyan, 58.75% magenta, 0% yellow and 37.25% black.
#0042a0 color has a hue of 215.3 degrees, a saturation of 100% and a lightness of 31.4%.
#0042a0 hex color contains mainly BLUE.
The closest web safe color of #0042a0 is #003399
#0042a0 hex color has a decimal value of 17056.
HEX | 0042a0 | #0042a0 |
---|---|---|
RGB | 0, 66, 160 | rgb(0, 66, 160) |
RGB Percent | 0, 25.88, 62.75 | rgb(0, 25.88, 62.75) |
CMYK | 100, 59, 0, 37 | |
HSL | 215.3°, 100, 31.4 | hsl(215.3, 100%, 31.4%) |
HSV | 215.3°, 100, 62.7 |
XYZ | 8.293, 6.434, 34.063 |
---|---|
Hunter Lab | 25.365, 13.97, -61.865 |
CIE-LAB | 30.482, 21.412, -55.629 |
CIE-LCH | 30.482, 59.608, 291.052 |
CIE-LUV | 100, 58.75, 0, 37.25 |
Web Safe | 003399 |
RGB percent of color #0042a0
CMYK percent of color #0042a0
Text with hexadecimal color #0042a0
This text has a font color of #0042a0
<p style="color:#0042a0">Text here</p>
#0042a0 Background Color
This box has a background color of #0042a0
<div style="background-color:#0042a0">Text here</div>
#0042a0 Border Color
This box has a border color of #0042a0
<div style="border: 4px solid #0042a0">Text here</div>
CSS codes
<p style="color:#0042a0">Text here</p>
<div style="background-color:#0042a0">Text here</div>
<div style="border: 4px solid #0042a0">Text here</div>
#0042a0 Color on white background
This is how a font and box color of #0042a0 will look
on a white background.
#0042a0 Color on black background
This is how a font and box color of #0042a0 hex color will look
on a black background.