In RGB color space, #402740 hex color has a red value of 64, a green value of 39 and a blue value of 64.
In CMYK color space (used in color printing), #402740 hex color is composed of 0% cyan, 39.06% magenta, 0% yellow and 74.9% black.
#402740 color has a hue of 300 degrees, a saturation of 24.27% and a lightness of 20.2%.
#402740 hex color contains mainly RED.
The closest web safe color of #402740 is #333333
#402740 hex color has a decimal value of 4204352.
HEX | 402740 | #402740 |
---|---|---|
RGB | 64, 39, 64 | rgb(64, 39, 64) |
RGB Percent | 25.1, 15.29, 25.1 | rgb(25.1, 15.29, 25.1) |
CMYK | 0, 39, 0, 75 | |
HSL | 300°, 24.27, 20.2 | hsl(300, 24.27%, 20.2%) |
HSV | 300°, 39.1, 25.1 |
XYZ | 3.765, 2.911, 5.214 |
---|---|
Hunter Lab | 17.062, 9.532, -6.176 |
CIE-LAB | 19.684, 16.633, -11.103 |
CIE-LCH | 19.684, 19.998, 326.276 |
CIE-LUV | 0, 39.06, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #402740
CMYK percent of color #402740
Text with hexadecimal color #402740
This text has a font color of #402740
<p style="color:#402740">Text here</p>
#402740 Background Color
This box has a background color of #402740
<div style="background-color:#402740">Text here</div>
#402740 Border Color
This box has a border color of #402740
<div style="border: 4px solid #402740">Text here</div>
CSS codes
<p style="color:#402740">Text here</p>
<div style="background-color:#402740">Text here</div>
<div style="border: 4px solid #402740">Text here</div>
#402740 Color on white background
This is how a font and box color of #402740 will look
on a white background.
#402740 Color on black background
This is how a font and box color of #402740 hex color will look
on a black background.