In RGB color space, #042cec hex color has a red value of 4, a green value of 44 and a blue value of 236.
In CMYK color space (used in color printing), #042cec hex color is composed of 98.31% cyan, 81.36% magenta, 0% yellow and 7.45% black.
#042cec color has a hue of 229.7 degrees, a saturation of 96.67% and a lightness of 47.1%.
#042cec hex color contains mainly BLUE.
The closest web safe color of #042cec is #0033ff
#042cec hex color has a decimal value of 273644.
HEX | 042cec | #042cec |
---|---|---|
RGB | 4, 44, 236 | rgb(4, 44, 236) |
RGB Percent | 1.57, 17.25, 92.55 | rgb(1.57, 17.25, 92.55) |
CMYK | 98, 81, 0, 7 | |
HSL | 229.7°, 96.67, 47.1 | hsl(229.7, 96.67%, 47.1%) |
HSV | 229.7°, 98.3, 92.5 |
XYZ | 16.091, 7.883, 80.03 |
---|---|
Hunter Lab | 28.077, 53.166, -149.347 |
CIE-LAB | 33.738, 62.212, -94.738 |
CIE-LCH | 33.738, 113.339, 303.292 |
CIE-LUV | 98.31, 81.36, 0, 7.45 |
Web Safe | 0033ff |
RGB percent of color #042cec
CMYK percent of color #042cec
Text with hexadecimal color #042cec
This text has a font color of #042cec
<p style="color:#042cec">Text here</p>
#042cec Background Color
This box has a background color of #042cec
<div style="background-color:#042cec">Text here</div>
#042cec Border Color
This box has a border color of #042cec
<div style="border: 4px solid #042cec">Text here</div>
CSS codes
<p style="color:#042cec">Text here</p>
<div style="background-color:#042cec">Text here</div>
<div style="border: 4px solid #042cec">Text here</div>
#042cec Color on white background
This is how a font and box color of #042cec will look
on a white background.
#042cec Color on black background
This is how a font and box color of #042cec hex color will look
on a black background.