In RGB color space, #042ff6 hex color has a red value of 4, a green value of 47 and a blue value of 246.
In CMYK color space (used in color printing), #042ff6 hex color is composed of 98.37% cyan, 80.89% magenta, 0% yellow and 3.53% black.
#042ff6 color has a hue of 229.3 degrees, a saturation of 96.8% and a lightness of 49%.
#042ff6 hex color contains mainly BLUE.
The closest web safe color of #042ff6 is #0033ff
#042ff6 hex color has a decimal value of 274422.
HEX | 042ff6 | #042ff6 |
---|---|---|
RGB | 4, 47, 246 | rgb(4, 47, 246) |
RGB Percent | 1.57, 18.43, 96.47 | rgb(1.57, 18.43, 96.47) |
CMYK | 98, 81, 0, 4 | |
HSL | 229.3°, 96.8, 49 | hsl(229.3, 96.8%, 49%) |
HSV | 229.3°, 98.4, 96.5 |
XYZ | 17.701, 8.713, 87.938 |
---|---|
Hunter Lab | 29.518, 55.385, -155.971 |
CIE-LAB | 35.426, 63.87, -97.587 |
CIE-LCH | 35.426, 116.63, 303.204 |
CIE-LUV | 98.37, 80.89, 0, 3.53 |
Web Safe | 0033ff |
RGB percent of color #042ff6
CMYK percent of color #042ff6
Text with hexadecimal color #042ff6
This text has a font color of #042ff6
<p style="color:#042ff6">Text here</p>
#042ff6 Background Color
This box has a background color of #042ff6
<div style="background-color:#042ff6">Text here</div>
#042ff6 Border Color
This box has a border color of #042ff6
<div style="border: 4px solid #042ff6">Text here</div>
CSS codes
<p style="color:#042ff6">Text here</p>
<div style="background-color:#042ff6">Text here</div>
<div style="border: 4px solid #042ff6">Text here</div>
#042ff6 Color on white background
This is how a font and box color of #042ff6 will look
on a white background.
#042ff6 Color on black background
This is how a font and box color of #042ff6 hex color will look
on a black background.