In RGB color space, #042ecd hex color has a red value of 4, a green value of 46 and a blue value of 205.
In CMYK color space (used in color printing), #042ecd hex color is composed of 98.05% cyan, 77.56% magenta, 0% yellow and 19.61% black.
#042ecd color has a hue of 227.5 degrees, a saturation of 96.17% and a lightness of 41%.
#042ecd hex color contains mainly BLUE.
The closest web safe color of #042ecd is #0033cc
#042ecd hex color has a decimal value of 274125.
HEX | 042ecd | #042ecd |
---|---|---|
RGB | 4, 46, 205 | rgb(4, 46, 205) |
RGB Percent | 1.57, 18.04, 80.39 | rgb(1.57, 18.04, 80.39) |
CMYK | 98, 78, 0, 20 | |
HSL | 227.5°, 96.17, 41 | hsl(227.5, 96.17%, 41%) |
HSV | 227.5°, 98, 80.4 |
XYZ | 12.047, 6.388, 58.356 |
---|---|
Hunter Lab | 25.274, 40.851, -119.202 |
CIE-LAB | 30.371, 51.285, -82.507 |
CIE-LCH | 30.371, 97.147, 301.864 |
CIE-LUV | 98.05, 77.56, 0, 19.61 |
Web Safe | 0033cc |
RGB percent of color #042ecd
CMYK percent of color #042ecd
Text with hexadecimal color #042ecd
This text has a font color of #042ecd
<p style="color:#042ecd">Text here</p>
#042ecd Background Color
This box has a background color of #042ecd
<div style="background-color:#042ecd">Text here</div>
#042ecd Border Color
This box has a border color of #042ecd
<div style="border: 4px solid #042ecd">Text here</div>
CSS codes
<p style="color:#042ecd">Text here</p>
<div style="background-color:#042ecd">Text here</div>
<div style="border: 4px solid #042ecd">Text here</div>
#042ecd Color on white background
This is how a font and box color of #042ecd will look
on a white background.
#042ecd Color on black background
This is how a font and box color of #042ecd hex color will look
on a black background.