In RGB color space, #402642 hex color has a red value of 64, a green value of 38 and a blue value of 66.
In CMYK color space (used in color printing), #402642 hex color is composed of 3.03% cyan, 42.42% magenta, 0% yellow and 74.12% black.
#402642 color has a hue of 295.7 degrees, a saturation of 26.92% and a lightness of 20.4%.
#402642 hex color contains mainly BLUE.
The closest web safe color of #402642 is #333333
#402642 hex color has a decimal value of 4204098.
HEX | 402642 | #402642 |
---|---|---|
RGB | 64, 38, 66 | rgb(64, 38, 66) |
RGB Percent | 25.1, 14.9, 25.88 | rgb(25.1, 14.9, 25.88) |
CMYK | 3, 42, 0, 74 | |
HSL | 295.7°, 26.92, 20.4 | hsl(295.7, 26.92%, 20.4%) |
HSV | 295.7°, 42.4, 25.9 |
XYZ | 3.791, 2.87, 5.508 |
---|---|
Hunter Lab | 16.941, 10.297, -7.418 |
CIE-LAB | 19.516, 17.75, -12.734 |
CIE-LCH | 19.516, 21.845, 324.344 |
CIE-LUV | 3.03, 42.42, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #402642
CMYK percent of color #402642
Text with hexadecimal color #402642
This text has a font color of #402642
<p style="color:#402642">Text here</p>
#402642 Background Color
This box has a background color of #402642
<div style="background-color:#402642">Text here</div>
#402642 Border Color
This box has a border color of #402642
<div style="border: 4px solid #402642">Text here</div>
CSS codes
<p style="color:#402642">Text here</p>
<div style="background-color:#402642">Text here</div>
<div style="border: 4px solid #402642">Text here</div>
#402642 Color on white background
This is how a font and box color of #402642 will look
on a white background.
#402642 Color on black background
This is how a font and box color of #402642 hex color will look
on a black background.