In RGB color space, #042af6 hex color has a red value of 4, a green value of 42 and a blue value of 246.
In CMYK color space (used in color printing), #042af6 hex color is composed of 98.37% cyan, 82.93% magenta, 0% yellow and 3.53% black.
#042af6 color has a hue of 230.6 degrees, a saturation of 96.8% and a lightness of 49%.
#042af6 hex color contains mainly BLUE.
The closest web safe color of #042af6 is #0033ff
#042af6 hex color has a decimal value of 273142.
HEX | 042af6 | #042af6 |
---|---|---|
RGB | 4, 42, 246 | rgb(4, 42, 246) |
RGB Percent | 1.57, 16.47, 96.47 | rgb(1.57, 16.47, 96.47) |
CMYK | 98, 83, 0, 4 | |
HSL | 230.6°, 96.8, 49 | hsl(230.6, 96.8%, 49%) |
HSV | 230.6°, 98.4, 96.5 |
XYZ | 17.513, 8.336, 87.875 |
---|---|
Hunter Lab | 28.872, 57.747, -160.244 |
CIE-LAB | 34.673, 66.1, -98.841 |
CIE-LCH | 34.673, 118.906, 303.773 |
CIE-LUV | 98.37, 82.93, 0, 3.53 |
Web Safe | 0033ff |
RGB percent of color #042af6
CMYK percent of color #042af6
Text with hexadecimal color #042af6
This text has a font color of #042af6
<p style="color:#042af6">Text here</p>
#042af6 Background Color
This box has a background color of #042af6
<div style="background-color:#042af6">Text here</div>
#042af6 Border Color
This box has a border color of #042af6
<div style="border: 4px solid #042af6">Text here</div>
CSS codes
<p style="color:#042af6">Text here</p>
<div style="background-color:#042af6">Text here</div>
<div style="border: 4px solid #042af6">Text here</div>
#042af6 Color on white background
This is how a font and box color of #042af6 will look
on a white background.
#042af6 Color on black background
This is how a font and box color of #042af6 hex color will look
on a black background.