In RGB color space, #4042a6 hex color has a red value of 64, a green value of 66 and a blue value of 166.
In CMYK color space (used in color printing), #4042a6 hex color is composed of 61.45% cyan, 60.24% magenta, 0% yellow and 34.9% black.
#4042a6 color has a hue of 238.8 degrees, a saturation of 44.35% and a lightness of 45.1%.
#4042a6 hex color contains mainly BLUE.
The closest web safe color of #4042a6 is #333399
#4042a6 hex color has a decimal value of 4211366.
HEX | 4042a6 | #4042a6 |
---|---|---|
RGB | 64, 66, 166 | rgb(64, 66, 166) |
RGB Percent | 25.1, 25.88, 65.1 | rgb(25.1, 25.88, 65.1) |
CMYK | 61, 60, 0, 35 | |
HSL | 238.8°, 44.35, 45.1 | hsl(238.8, 44.35%, 45.1%) |
HSV | 238.8°, 61.4, 65.1 |
XYZ | 10.946, 7.74, 36.993 |
---|---|
Hunter Lab | 27.821, 21.544, -59.362 |
CIE-LAB | 33.435, 30.179, -54.323 |
CIE-LCH | 33.435, 62.143, 299.054 |
CIE-LUV | 61.45, 60.24, 0, 34.9 |
Web Safe | 333399 |
RGB percent of color #4042a6
CMYK percent of color #4042a6
Text with hexadecimal color #4042a6
This text has a font color of #4042a6
<p style="color:#4042a6">Text here</p>
#4042a6 Background Color
This box has a background color of #4042a6
<div style="background-color:#4042a6">Text here</div>
#4042a6 Border Color
This box has a border color of #4042a6
<div style="border: 4px solid #4042a6">Text here</div>
CSS codes
<p style="color:#4042a6">Text here</p>
<div style="background-color:#4042a6">Text here</div>
<div style="border: 4px solid #4042a6">Text here</div>
#4042a6 Color on white background
This is how a font and box color of #4042a6 will look
on a white background.
#4042a6 Color on black background
This is how a font and box color of #4042a6 hex color will look
on a black background.