In RGB color space, #402640 hex color has a red value of 64, a green value of 38 and a blue value of 64.
In CMYK color space (used in color printing), #402640 hex color is composed of 0% cyan, 40.63% magenta, 0% yellow and 74.9% black.
#402640 color has a hue of 300 degrees, a saturation of 25.49% and a lightness of 20%.
#402640 hex color contains mainly RED.
The closest web safe color of #402640 is #333333
#402640 hex color has a decimal value of 4204096.
HEX | 402640 | #402640 |
---|---|---|
RGB | 64, 38, 64 | rgb(64, 38, 64) |
RGB Percent | 25.1, 14.9, 25.1 | rgb(25.1, 14.9, 25.1) |
CMYK | 0, 41, 0, 75 | |
HSL | 300°, 25.49, 20 | hsl(300, 25.49%, 20%) |
HSV | 300°, 40.6, 25.1 |
XYZ | 3.733, 2.846, 5.203 |
---|---|
Hunter Lab | 16.87, 9.976, -6.477 |
CIE-LAB | 19.416, 17.302, -11.514 |
CIE-LCH | 19.416, 20.783, 326.357 |
CIE-LUV | 0, 40.63, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #402640
CMYK percent of color #402640
Text with hexadecimal color #402640
This text has a font color of #402640
<p style="color:#402640">Text here</p>
#402640 Background Color
This box has a background color of #402640
<div style="background-color:#402640">Text here</div>
#402640 Border Color
This box has a border color of #402640
<div style="border: 4px solid #402640">Text here</div>
CSS codes
<p style="color:#402640">Text here</p>
<div style="background-color:#402640">Text here</div>
<div style="border: 4px solid #402640">Text here</div>
#402640 Color on white background
This is how a font and box color of #402640 will look
on a white background.
#402640 Color on black background
This is how a font and box color of #402640 hex color will look
on a black background.