In RGB color space, #402799 hex color has a red value of 64, a green value of 39 and a blue value of 153.
In CMYK color space (used in color printing), #402799 hex color is composed of 58.17% cyan, 74.51% magenta, 0% yellow and 40% black.
#402799 color has a hue of 253.2 degrees, a saturation of 59.38% and a lightness of 37.6%.
#402799 hex color contains mainly BLUE.
The closest web safe color of #402799 is #333399
#402799 hex color has a decimal value of 4204441.
HEX | 402799 | #402799 |
---|---|---|
RGB | 64, 39, 153 | rgb(64, 39, 153) |
RGB Percent | 25.1, 15.29, 60 | rgb(25.1, 15.29, 60) |
CMYK | 58, 75, 0, 40 | |
HSL | 253.2°, 59.38, 37.6 | hsl(253.2, 59.38%, 37.6%) |
HSV | 253.2°, 74.5, 60 |
XYZ | 8.59, 4.841, 30.619 |
---|---|
Hunter Lab | 22.002, 31.185, -67.108 |
CIE-LAB | 26.277, 42.154, -58.14 |
CIE-LCH | 26.277, 71.814, 305.944 |
CIE-LUV | 58.17, 74.51, 0, 40 |
Web Safe | 333399 |
RGB percent of color #402799
CMYK percent of color #402799
Text with hexadecimal color #402799
This text has a font color of #402799
<p style="color:#402799">Text here</p>
#402799 Background Color
This box has a background color of #402799
<div style="background-color:#402799">Text here</div>
#402799 Border Color
This box has a border color of #402799
<div style="border: 4px solid #402799">Text here</div>
CSS codes
<p style="color:#402799">Text here</p>
<div style="background-color:#402799">Text here</div>
<div style="border: 4px solid #402799">Text here</div>
#402799 Color on white background
This is how a font and box color of #402799 will look
on a white background.
#402799 Color on black background
This is how a font and box color of #402799 hex color will look
on a black background.