In RGB color space, #0042a4 hex color has a red value of 0, a green value of 66 and a blue value of 164.
In CMYK color space (used in color printing), #0042a4 hex color is composed of 100% cyan, 59.76% magenta, 0% yellow and 35.69% black.
#0042a4 color has a hue of 215.9 degrees, a saturation of 100% and a lightness of 32.2%.
#0042a4 hex color contains mainly BLUE.
The closest web safe color of #0042a4 is #003399
#0042a4 hex color has a decimal value of 17060.
HEX | 0042a4 | #0042a4 |
---|---|---|
RGB | 0, 66, 164 | rgb(0, 66, 164) |
RGB Percent | 0, 25.88, 64.31 | rgb(0, 25.88, 64.31) |
CMYK | 100, 60, 0, 36 | |
HSL | 215.9°, 100, 32.2 | hsl(215.9, 100%, 32.2%) |
HSV | 215.9°, 100, 64.3 |
XYZ | 8.649, 6.577, 35.936 |
---|---|
Hunter Lab | 25.646, 15.319, -65.128 |
CIE-LAB | 30.824, 23.068, -57.484 |
CIE-LCH | 30.824, 61.94, 291.865 |
CIE-LUV | 100, 59.76, 0, 35.69 |
Web Safe | 003399 |
RGB percent of color #0042a4
CMYK percent of color #0042a4
Text with hexadecimal color #0042a4
This text has a font color of #0042a4
<p style="color:#0042a4">Text here</p>
#0042a4 Background Color
This box has a background color of #0042a4
<div style="background-color:#0042a4">Text here</div>
#0042a4 Border Color
This box has a border color of #0042a4
<div style="border: 4px solid #0042a4">Text here</div>
CSS codes
<p style="color:#0042a4">Text here</p>
<div style="background-color:#0042a4">Text here</div>
<div style="border: 4px solid #0042a4">Text here</div>
#0042a4 Color on white background
This is how a font and box color of #0042a4 will look
on a white background.
#0042a4 Color on black background
This is how a font and box color of #0042a4 hex color will look
on a black background.