In RGB color space, #402340 hex color has a red value of 64, a green value of 35 and a blue value of 64.
In CMYK color space (used in color printing), #402340 hex color is composed of 0% cyan, 45.31% magenta, 0% yellow and 74.9% black.
#402340 color has a hue of 300 degrees, a saturation of 29.29% and a lightness of 19.4%.
#402340 hex color contains mainly RED.
The closest web safe color of #402340 is #333333
#402340 hex color has a decimal value of 4203328.
HEX | 402340 | #402340 |
---|---|---|
RGB | 64, 35, 64 | rgb(64, 35, 64) |
RGB Percent | 25.1, 13.73, 25.1 | rgb(25.1, 13.73, 25.1) |
CMYK | 0, 45, 0, 75 | |
HSL | 300°, 29.29, 19.4 | hsl(300, 29.29%, 19.4%) |
HSV | 300°, 45.3, 25.1 |
XYZ | 3.641, 2.662, 5.172 |
---|---|
Hunter Lab | 16.316, 11.282, -7.374 |
CIE-LAB | 18.636, 19.258, -12.715 |
CIE-LCH | 18.636, 23.077, 326.565 |
CIE-LUV | 0, 45.31, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #402340
CMYK percent of color #402340
Text with hexadecimal color #402340
This text has a font color of #402340
<p style="color:#402340">Text here</p>
#402340 Background Color
This box has a background color of #402340
<div style="background-color:#402340">Text here</div>
#402340 Border Color
This box has a border color of #402340
<div style="border: 4px solid #402340">Text here</div>
CSS codes
<p style="color:#402340">Text here</p>
<div style="background-color:#402340">Text here</div>
<div style="border: 4px solid #402340">Text here</div>
#402340 Color on white background
This is how a font and box color of #402340 will look
on a white background.
#402340 Color on black background
This is how a font and box color of #402340 hex color will look
on a black background.