In RGB color space, #4042a2 hex color has a red value of 64, a green value of 66 and a blue value of 162.
In CMYK color space (used in color printing), #4042a2 hex color is composed of 60.49% cyan, 59.26% magenta, 0% yellow and 36.47% black.
#4042a2 color has a hue of 238.8 degrees, a saturation of 43.36% and a lightness of 44.3%.
#4042a2 hex color contains mainly BLUE.
The closest web safe color of #4042a2 is #333399
#4042a2 hex color has a decimal value of 4211362.
HEX | 4042a2 | #4042a2 |
---|---|---|
RGB | 64, 66, 162 | rgb(64, 66, 162) |
RGB Percent | 25.1, 25.88, 63.53 | rgb(25.1, 25.88, 63.53) |
CMYK | 60, 59, 0, 36 | |
HSL | 238.8°, 43.36, 44.3 | hsl(238.8, 43.36%, 44.3%) |
HSV | 238.8°, 60.5, 63.5 |
XYZ | 10.584, 7.595, 35.091 |
---|---|
Hunter Lab | 27.559, 20.324, -56.203 |
CIE-LAB | 33.125, 28.806, -52.425 |
CIE-LCH | 33.125, 59.818, 298.788 |
CIE-LUV | 60.49, 59.26, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #4042a2
CMYK percent of color #4042a2
Text with hexadecimal color #4042a2
This text has a font color of #4042a2
<p style="color:#4042a2">Text here</p>
#4042a2 Background Color
This box has a background color of #4042a2
<div style="background-color:#4042a2">Text here</div>
#4042a2 Border Color
This box has a border color of #4042a2
<div style="border: 4px solid #4042a2">Text here</div>
CSS codes
<p style="color:#4042a2">Text here</p>
<div style="background-color:#4042a2">Text here</div>
<div style="border: 4px solid #4042a2">Text here</div>
#4042a2 Color on white background
This is how a font and box color of #4042a2 will look
on a white background.
#4042a2 Color on black background
This is how a font and box color of #4042a2 hex color will look
on a black background.