In RGB color space, #042cf2 hex color has a red value of 4, a green value of 44 and a blue value of 242.
In CMYK color space (used in color printing), #042cf2 hex color is composed of 98.35% cyan, 81.82% magenta, 0% yellow and 5.1% black.
#042cf2 color has a hue of 229.9 degrees, a saturation of 96.75% and a lightness of 48.2%.
#042cf2 hex color contains mainly BLUE.
The closest web safe color of #042cf2 is #0033ff
#042cf2 hex color has a decimal value of 273650.
HEX | 042cf2 | #042cf2 |
---|---|---|
RGB | 4, 44, 242 | rgb(4, 44, 242) |
RGB Percent | 1.57, 17.25, 94.9 | rgb(1.57, 17.25, 94.9) |
CMYK | 98, 82, 0, 5 | |
HSL | 229.9°, 96.75, 48.2 | hsl(229.9, 96.75%, 48.2%) |
HSV | 229.9°, 98.3, 94.9 |
XYZ | 16.978, 8.238, 84.7 |
---|---|
Hunter Lab | 28.702, 55.359, -154.875 |
CIE-LAB | 34.474, 64.032, -96.914 |
CIE-LCH | 34.474, 116.157, 303.453 |
CIE-LUV | 98.35, 81.82, 0, 5.1 |
Web Safe | 0033ff |
RGB percent of color #042cf2
CMYK percent of color #042cf2
Text with hexadecimal color #042cf2
This text has a font color of #042cf2
<p style="color:#042cf2">Text here</p>
#042cf2 Background Color
This box has a background color of #042cf2
<div style="background-color:#042cf2">Text here</div>
#042cf2 Border Color
This box has a border color of #042cf2
<div style="border: 4px solid #042cf2">Text here</div>
CSS codes
<p style="color:#042cf2">Text here</p>
<div style="background-color:#042cf2">Text here</div>
<div style="border: 4px solid #042cf2">Text here</div>
#042cf2 Color on white background
This is how a font and box color of #042cf2 will look
on a white background.
#042cf2 Color on black background
This is how a font and box color of #042cf2 hex color will look
on a black background.