In RGB color space, #4042b6 hex color has a red value of 64, a green value of 66 and a blue value of 182.
In CMYK color space (used in color printing), #4042b6 hex color is composed of 64.84% cyan, 63.74% magenta, 0% yellow and 28.63% black.
#4042b6 color has a hue of 239 degrees, a saturation of 47.97% and a lightness of 48.2%.
#4042b6 hex color contains mainly BLUE.
The closest web safe color of #4042b6 is #3333cc
#4042b6 hex color has a decimal value of 4211382.
HEX | 4042b6 | #4042b6 |
---|---|---|
RGB | 64, 66, 182 | rgb(64, 66, 182) |
RGB Percent | 25.1, 25.88, 71.37 | rgb(25.1, 25.88, 71.37) |
CMYK | 65, 64, 0, 29 | |
HSL | 239°, 47.97, 48.2 | hsl(239, 47.97%, 48.2%) |
HSV | 239°, 64.8, 71.4 |
XYZ | 12.506, 8.364, 45.211 |
---|---|
Hunter Lab | 28.921, 26.577, -72.443 |
CIE-LAB | 34.73, 35.647, -61.743 |
CIE-LCH | 34.73, 71.295, 300 |
CIE-LUV | 64.84, 63.74, 0, 28.63 |
Web Safe | 3333cc |
RGB percent of color #4042b6
CMYK percent of color #4042b6
Text with hexadecimal color #4042b6
This text has a font color of #4042b6
<p style="color:#4042b6">Text here</p>
#4042b6 Background Color
This box has a background color of #4042b6
<div style="background-color:#4042b6">Text here</div>
#4042b6 Border Color
This box has a border color of #4042b6
<div style="border: 4px solid #4042b6">Text here</div>
CSS codes
<p style="color:#4042b6">Text here</p>
<div style="background-color:#4042b6">Text here</div>
<div style="border: 4px solid #4042b6">Text here</div>
#4042b6 Color on white background
This is how a font and box color of #4042b6 will look
on a white background.
#4042b6 Color on black background
This is how a font and box color of #4042b6 hex color will look
on a black background.