In RGB color space, #4042cf hex color has a red value of 64, a green value of 66 and a blue value of 207.
In CMYK color space (used in color printing), #4042cf hex color is composed of 69.08% cyan, 68.12% magenta, 0% yellow and 18.82% black.
#4042cf color has a hue of 239.2 degrees, a saturation of 59.83% and a lightness of 53.1%.
#4042cf hex color contains mainly BLUE.
The closest web safe color of #4042cf is #3333cc
#4042cf hex color has a decimal value of 4211407.
HEX | 4042cf | #4042cf |
---|---|---|
RGB | 64, 66, 207 | rgb(64, 66, 207) |
RGB Percent | 25.1, 25.88, 81.18 | rgb(25.1, 25.88, 81.18) |
CMYK | 69, 68, 0, 19 | |
HSL | 239.2°, 59.83, 53.1 | hsl(239.2, 59.83%, 53.1%) |
HSV | 239.2°, 69.1, 81.2 |
XYZ | 15.325, 9.491, 60.056 |
---|---|
Hunter Lab | 30.807, 34.881, -94.015 |
CIE-LAB | 36.913, 44.066, -72.79 |
CIE-LCH | 36.913, 85.089, 301.19 |
CIE-LUV | 69.08, 68.12, 0, 18.82 |
Web Safe | 3333cc |
RGB percent of color #4042cf
CMYK percent of color #4042cf
Text with hexadecimal color #4042cf
This text has a font color of #4042cf
<p style="color:#4042cf">Text here</p>
#4042cf Background Color
This box has a background color of #4042cf
<div style="background-color:#4042cf">Text here</div>
#4042cf Border Color
This box has a border color of #4042cf
<div style="border: 4px solid #4042cf">Text here</div>
CSS codes
<p style="color:#4042cf">Text here</p>
<div style="background-color:#4042cf">Text here</div>
<div style="border: 4px solid #4042cf">Text here</div>
#4042cf Color on white background
This is how a font and box color of #4042cf will look
on a white background.
#4042cf Color on black background
This is how a font and box color of #4042cf hex color will look
on a black background.