In RGB color space, #4042e4 hex color has a red value of 64, a green value of 66 and a blue value of 228.
In CMYK color space (used in color printing), #4042e4 hex color is composed of 71.93% cyan, 71.05% magenta, 0% yellow and 10.59% black.
#4042e4 color has a hue of 239.3 degrees, a saturation of 75.23% and a lightness of 57.3%.
#4042e4 hex color contains mainly BLUE.
The closest web safe color of #4042e4 is #3333cc
#4042e4 hex color has a decimal value of 4211428.
HEX | 4042e4 | #4042e4 |
---|---|---|
RGB | 64, 66, 228 | rgb(64, 66, 228) |
RGB Percent | 25.1, 25.88, 89.41 | rgb(25.1, 25.88, 89.41) |
CMYK | 72, 71, 0, 11 | |
HSL | 239.3°, 75.23, 57.3 | hsl(239.3, 75.23%, 57.3%) |
HSV | 239.3°, 71.9, 89.4 |
XYZ | 18.066, 10.588, 74.49 |
---|---|
Hunter Lab | 32.539, 42.161, -112.951 |
CIE-LAB | 38.878, 50.941, -81.612 |
CIE-LCH | 38.878, 96.206, 301.972 |
CIE-LUV | 71.93, 71.05, 0, 10.59 |
Web Safe | 3333cc |
RGB percent of color #4042e4
CMYK percent of color #4042e4
Text with hexadecimal color #4042e4
This text has a font color of #4042e4
<p style="color:#4042e4">Text here</p>
#4042e4 Background Color
This box has a background color of #4042e4
<div style="background-color:#4042e4">Text here</div>
#4042e4 Border Color
This box has a border color of #4042e4
<div style="border: 4px solid #4042e4">Text here</div>
CSS codes
<p style="color:#4042e4">Text here</p>
<div style="background-color:#4042e4">Text here</div>
<div style="border: 4px solid #4042e4">Text here</div>
#4042e4 Color on white background
This is how a font and box color of #4042e4 will look
on a white background.
#4042e4 Color on black background
This is how a font and box color of #4042e4 hex color will look
on a black background.