In RGB color space, #042ec2 hex color has a red value of 4, a green value of 46 and a blue value of 194.
In CMYK color space (used in color printing), #042ec2 hex color is composed of 97.94% cyan, 76.29% magenta, 0% yellow and 23.92% black.
#042ec2 color has a hue of 226.7 degrees, a saturation of 95.96% and a lightness of 38.8%.
#042ec2 hex color contains mainly BLUE.
The closest web safe color of #042ec2 is #0033cc
#042ec2 hex color has a decimal value of 274114.
HEX | 042ec2 | #042ec2 |
---|---|---|
RGB | 4, 46, 194 | rgb(4, 46, 194) |
RGB Percent | 1.57, 18.04, 76.08 | rgb(1.57, 18.04, 76.08) |
CMYK | 98, 76, 0, 24 | |
HSL | 226.7°, 95.96, 38.8 | hsl(226.7, 95.96%, 38.8%) |
HSV | 226.7°, 97.9, 76.1 |
XYZ | 10.765, 5.875, 51.606 |
---|---|
Hunter Lab | 24.238, 36.86, -109.268 |
CIE-LAB | 29.095, 47.54, -78.185 |
CIE-LCH | 29.095, 91.504, 301.301 |
CIE-LUV | 97.94, 76.29, 0, 23.92 |
Web Safe | 0033cc |
RGB percent of color #042ec2
CMYK percent of color #042ec2
Text with hexadecimal color #042ec2
This text has a font color of #042ec2
<p style="color:#042ec2">Text here</p>
#042ec2 Background Color
This box has a background color of #042ec2
<div style="background-color:#042ec2">Text here</div>
#042ec2 Border Color
This box has a border color of #042ec2
<div style="border: 4px solid #042ec2">Text here</div>
CSS codes
<p style="color:#042ec2">Text here</p>
<div style="background-color:#042ec2">Text here</div>
<div style="border: 4px solid #042ec2">Text here</div>
#042ec2 Color on white background
This is how a font and box color of #042ec2 will look
on a white background.
#042ec2 Color on black background
This is how a font and box color of #042ec2 hex color will look
on a black background.