In RGB color space, #042ad4 hex color has a red value of 4, a green value of 42 and a blue value of 212.
In CMYK color space (used in color printing), #042ad4 hex color is composed of 98.11% cyan, 80.19% magenta, 0% yellow and 16.86% black.
#042ad4 color has a hue of 229 degrees, a saturation of 96.3% and a lightness of 42.4%.
#042ad4 hex color contains mainly BLUE.
The closest web safe color of #042ad4 is #0033cc
#042ad4 hex color has a decimal value of 273108.
HEX | 042ad4 | #042ad4 |
---|---|---|
RGB | 4, 42, 212 | rgb(4, 42, 212) |
RGB Percent | 1.57, 16.47, 83.14 | rgb(1.57, 16.47, 83.14) |
CMYK | 98, 80, 0, 17 | |
HSL | 229°, 96.3, 42.4 | hsl(229, 96.3%, 42.4%) |
HSV | 229°, 98.1, 83.1 |
XYZ | 12.762, 6.435, 62.857 |
---|---|
Hunter Lab | 25.367, 45.409, -129.156 |
CIE-LAB | 30.484, 55.67, -86.385 |
CIE-LCH | 30.484, 102.769, 302.799 |
CIE-LUV | 98.11, 80.19, 0, 16.86 |
Web Safe | 0033cc |
RGB percent of color #042ad4
CMYK percent of color #042ad4
Text with hexadecimal color #042ad4
This text has a font color of #042ad4
<p style="color:#042ad4">Text here</p>
#042ad4 Background Color
This box has a background color of #042ad4
<div style="background-color:#042ad4">Text here</div>
#042ad4 Border Color
This box has a border color of #042ad4
<div style="border: 4px solid #042ad4">Text here</div>
CSS codes
<p style="color:#042ad4">Text here</p>
<div style="background-color:#042ad4">Text here</div>
<div style="border: 4px solid #042ad4">Text here</div>
#042ad4 Color on white background
This is how a font and box color of #042ad4 will look
on a white background.
#042ad4 Color on black background
This is how a font and box color of #042ad4 hex color will look
on a black background.