In RGB color space, #4042c0 hex color has a red value of 64, a green value of 66 and a blue value of 192.
In CMYK color space (used in color printing), #4042c0 hex color is composed of 66.67% cyan, 65.63% magenta, 0% yellow and 24.71% black.
#4042c0 color has a hue of 239.1 degrees, a saturation of 50.39% and a lightness of 50.2%.
#4042c0 hex color contains mainly BLUE.
The closest web safe color of #4042c0 is #3333cc
#4042c0 hex color has a decimal value of 4211392.
HEX | 4042c0 | #4042c0 |
---|---|---|
RGB | 64, 66, 192 | rgb(64, 66, 192) |
RGB Percent | 25.1, 25.88, 75.29 | rgb(25.1, 25.88, 75.29) |
CMYK | 67, 66, 0, 25 | |
HSL | 239.1°, 50.39, 50.2 | hsl(239.1, 50.39%, 50.2%) |
HSV | 239.1°, 66.7, 75.3 |
XYZ | 13.577, 8.792, 50.851 |
---|---|
Hunter Lab | 29.651, 29.843, -80.924 |
CIE-LAB | 35.581, 39.041, -66.238 |
CIE-LCH | 35.581, 76.887, 300.515 |
CIE-LUV | 66.67, 65.63, 0, 24.71 |
Web Safe | 3333cc |
RGB percent of color #4042c0
CMYK percent of color #4042c0
Text with hexadecimal color #4042c0
This text has a font color of #4042c0
<p style="color:#4042c0">Text here</p>
#4042c0 Background Color
This box has a background color of #4042c0
<div style="background-color:#4042c0">Text here</div>
#4042c0 Border Color
This box has a border color of #4042c0
<div style="border: 4px solid #4042c0">Text here</div>
CSS codes
<p style="color:#4042c0">Text here</p>
<div style="background-color:#4042c0">Text here</div>
<div style="border: 4px solid #4042c0">Text here</div>
#4042c0 Color on white background
This is how a font and box color of #4042c0 will look
on a white background.
#4042c0 Color on black background
This is how a font and box color of #4042c0 hex color will look
on a black background.