In RGB color space, #4042c1 hex color has a red value of 64, a green value of 66 and a blue value of 193.
In CMYK color space (used in color printing), #4042c1 hex color is composed of 66.84% cyan, 65.8% magenta, 0% yellow and 24.31% black.
#4042c1 color has a hue of 239.1 degrees, a saturation of 50.99% and a lightness of 50.4%.
#4042c1 hex color contains mainly BLUE.
The closest web safe color of #4042c1 is #3333cc
#4042c1 hex color has a decimal value of 4211393.
HEX | 4042c1 | #4042c1 |
---|---|---|
RGB | 64, 66, 193 | rgb(64, 66, 193) |
RGB Percent | 25.1, 25.88, 75.69 | rgb(25.1, 25.88, 75.69) |
CMYK | 67, 66, 0, 24 | |
HSL | 239.1°, 50.99, 50.4 | hsl(239.1, 50.99%, 50.4%) |
HSV | 239.1°, 66.8, 75.7 |
XYZ | 13.688, 8.837, 51.436 |
---|---|
Hunter Lab | 29.727, 30.169, -81.779 |
CIE-LAB | 35.669, 39.373, -66.68 |
CIE-LCH | 35.669, 77.437, 300.561 |
CIE-LUV | 66.84, 65.8, 0, 24.31 |
Web Safe | 3333cc |
RGB percent of color #4042c1
CMYK percent of color #4042c1
Text with hexadecimal color #4042c1
This text has a font color of #4042c1
<p style="color:#4042c1">Text here</p>
#4042c1 Background Color
This box has a background color of #4042c1
<div style="background-color:#4042c1">Text here</div>
#4042c1 Border Color
This box has a border color of #4042c1
<div style="border: 4px solid #4042c1">Text here</div>
CSS codes
<p style="color:#4042c1">Text here</p>
<div style="background-color:#4042c1">Text here</div>
<div style="border: 4px solid #4042c1">Text here</div>
#4042c1 Color on white background
This is how a font and box color of #4042c1 will look
on a white background.
#4042c1 Color on black background
This is how a font and box color of #4042c1 hex color will look
on a black background.