In RGB color space, #4042f1 hex color has a red value of 64, a green value of 66 and a blue value of 241.
In CMYK color space (used in color printing), #4042f1 hex color is composed of 73.44% cyan, 72.61% magenta, 0% yellow and 5.49% black.
#4042f1 color has a hue of 239.3 degrees, a saturation of 86.34% and a lightness of 59.8%.
#4042f1 hex color contains mainly BLUE.
The closest web safe color of #4042f1 is #3333ff
#4042f1 hex color has a decimal value of 4211441.
HEX | 4042f1 | #4042f1 |
---|---|---|
RGB | 64, 66, 241 | rgb(64, 66, 241) |
RGB Percent | 25.1, 25.88, 94.51 | rgb(25.1, 25.88, 94.51) |
CMYK | 73, 73, 0, 5 | |
HSL | 239.3°, 86.34, 59.8 | hsl(239.3, 86.34%, 59.8%) |
HSV | 239.3°, 73.4, 94.5 |
XYZ | 19.94, 11.337, 84.356 |
---|---|
Hunter Lab | 33.67, 46.786, -124.972 |
CIE-LAB | 40.142, 55.104, -86.891 |
CIE-LCH | 40.142, 102.891, 302.382 |
CIE-LUV | 73.44, 72.61, 0, 5.49 |
Web Safe | 3333ff |
RGB percent of color #4042f1
CMYK percent of color #4042f1
Text with hexadecimal color #4042f1
This text has a font color of #4042f1
<p style="color:#4042f1">Text here</p>
#4042f1 Background Color
This box has a background color of #4042f1
<div style="background-color:#4042f1">Text here</div>
#4042f1 Border Color
This box has a border color of #4042f1
<div style="border: 4px solid #4042f1">Text here</div>
CSS codes
<p style="color:#4042f1">Text here</p>
<div style="background-color:#4042f1">Text here</div>
<div style="border: 4px solid #4042f1">Text here</div>
#4042f1 Color on white background
This is how a font and box color of #4042f1 will look
on a white background.
#4042f1 Color on black background
This is how a font and box color of #4042f1 hex color will look
on a black background.