In RGB color space, #042cd4 hex color has a red value of 4, a green value of 44 and a blue value of 212.
In CMYK color space (used in color printing), #042cd4 hex color is composed of 98.11% cyan, 79.25% magenta, 0% yellow and 16.86% black.
#042cd4 color has a hue of 228.5 degrees, a saturation of 96.3% and a lightness of 42.4%.
#042cd4 hex color contains mainly BLUE.
The closest web safe color of #042cd4 is #0033cc
#042cd4 hex color has a decimal value of 273620.
HEX | 042cd4 | #042cd4 |
---|---|---|
RGB | 4, 44, 212 | rgb(4, 44, 212) |
RGB Percent | 1.57, 17.25, 83.14 | rgb(1.57, 17.25, 83.14) |
CMYK | 98, 79, 0, 17 | |
HSL | 228.5°, 96.3, 42.4 | hsl(228.5, 96.3%, 42.4%) |
HSV | 228.5°, 98.1, 83.1 |
XYZ | 12.834, 6.581, 62.881 |
---|---|
Hunter Lab | 25.653, 44.407, -127.372 |
CIE-LAB | 30.833, 54.646, -85.805 |
CIE-LCH | 30.833, 101.728, 302.492 |
CIE-LUV | 98.11, 79.25, 0, 16.86 |
Web Safe | 0033cc |
RGB percent of color #042cd4
CMYK percent of color #042cd4
Text with hexadecimal color #042cd4
This text has a font color of #042cd4
<p style="color:#042cd4">Text here</p>
#042cd4 Background Color
This box has a background color of #042cd4
<div style="background-color:#042cd4">Text here</div>
#042cd4 Border Color
This box has a border color of #042cd4
<div style="border: 4px solid #042cd4">Text here</div>
CSS codes
<p style="color:#042cd4">Text here</p>
<div style="background-color:#042cd4">Text here</div>
<div style="border: 4px solid #042cd4">Text here</div>
#042cd4 Color on white background
This is how a font and box color of #042cd4 will look
on a white background.
#042cd4 Color on black background
This is how a font and box color of #042cd4 hex color will look
on a black background.