In RGB color space, #042ef2 hex color has a red value of 4, a green value of 46 and a blue value of 242.
In CMYK color space (used in color printing), #042ef2 hex color is composed of 98.35% cyan, 80.99% magenta, 0% yellow and 5.1% black.
#042ef2 color has a hue of 229.4 degrees, a saturation of 96.75% and a lightness of 48.2%.
#042ef2 hex color contains mainly BLUE.
The closest web safe color of #042ef2 is #0033ff
#042ef2 hex color has a decimal value of 274162.
HEX | 042ef2 | #042ef2 |
---|---|---|
RGB | 4, 46, 242 | rgb(4, 46, 242) |
RGB Percent | 1.57, 18.04, 94.9 | rgb(1.57, 18.04, 94.9) |
CMYK | 98, 81, 0, 5 | |
HSL | 229.4°, 96.75, 48.2 | hsl(229.4, 96.75%, 48.2%) |
HSV | 229.4°, 98.3, 94.9 |
XYZ | 17.054, 8.391, 84.725 |
---|---|
Hunter Lab | 28.967, 54.396, -153.138 |
CIE-LAB | 34.784, 63.113, -96.397 |
CIE-LCH | 34.784, 115.22, 303.214 |
CIE-LUV | 98.35, 80.99, 0, 5.1 |
Web Safe | 0033ff |
RGB percent of color #042ef2
CMYK percent of color #042ef2
Text with hexadecimal color #042ef2
This text has a font color of #042ef2
<p style="color:#042ef2">Text here</p>
#042ef2 Background Color
This box has a background color of #042ef2
<div style="background-color:#042ef2">Text here</div>
#042ef2 Border Color
This box has a border color of #042ef2
<div style="border: 4px solid #042ef2">Text here</div>
CSS codes
<p style="color:#042ef2">Text here</p>
<div style="background-color:#042ef2">Text here</div>
<div style="border: 4px solid #042ef2">Text here</div>
#042ef2 Color on white background
This is how a font and box color of #042ef2 will look
on a white background.
#042ef2 Color on black background
This is how a font and box color of #042ef2 hex color will look
on a black background.