In RGB color space, #4042d2 hex color has a red value of 64, a green value of 66 and a blue value of 210.
In CMYK color space (used in color printing), #4042d2 hex color is composed of 69.52% cyan, 68.57% magenta, 0% yellow and 17.65% black.
#4042d2 color has a hue of 239.2 degrees, a saturation of 61.86% and a lightness of 53.7%.
#4042d2 hex color contains mainly BLUE.
The closest web safe color of #4042d2 is #3333cc
#4042d2 hex color has a decimal value of 4211410.
HEX | 4042d2 | #4042d2 |
---|---|---|
RGB | 64, 66, 210 | rgb(64, 66, 210) |
RGB Percent | 25.1, 25.88, 82.35 | rgb(25.1, 25.88, 82.35) |
CMYK | 70, 69, 0, 18 | |
HSL | 239.2°, 61.86, 53.7 | hsl(239.2, 61.86%, 53.7%) |
HSV | 239.2°, 69.5, 82.4 |
XYZ | 15.695, 9.64, 62.006 |
---|---|
Hunter Lab | 31.048, 35.897, -96.673 |
CIE-LAB | 37.188, 45.051, -74.072 |
CIE-LCH | 37.188, 86.696, 301.308 |
CIE-LUV | 69.52, 68.57, 0, 17.65 |
Web Safe | 3333cc |
RGB percent of color #4042d2
CMYK percent of color #4042d2
Text with hexadecimal color #4042d2
This text has a font color of #4042d2
<p style="color:#4042d2">Text here</p>
#4042d2 Background Color
This box has a background color of #4042d2
<div style="background-color:#4042d2">Text here</div>
#4042d2 Border Color
This box has a border color of #4042d2
<div style="border: 4px solid #4042d2">Text here</div>
CSS codes
<p style="color:#4042d2">Text here</p>
<div style="background-color:#4042d2">Text here</div>
<div style="border: 4px solid #4042d2">Text here</div>
#4042d2 Color on white background
This is how a font and box color of #4042d2 will look
on a white background.
#4042d2 Color on black background
This is how a font and box color of #4042d2 hex color will look
on a black background.