In RGB color space, #402259 hex color has a red value of 64, a green value of 34 and a blue value of 89.
In CMYK color space (used in color printing), #402259 hex color is composed of 28.09% cyan, 61.8% magenta, 0% yellow and 65.1% black.
#402259 color has a hue of 272.7 degrees, a saturation of 44.72% and a lightness of 24.1%.
#402259 hex color contains mainly BLUE.
The closest web safe color of #402259 is #333366
#402259 hex color has a decimal value of 4203097.
HEX | 402259 | #402259 |
---|---|---|
RGB | 64, 34, 89 | rgb(64, 34, 89) |
RGB Percent | 25.1, 13.33, 34.9 | rgb(25.1, 13.33, 34.9) |
CMYK | 28, 62, 0, 65 | |
HSL | 272.7°, 44.72, 24.1 | hsl(272.7, 44.72%, 24.1%) |
HSV | 272.7°, 61.8, 34.9 |
XYZ | 4.49, 2.955, 9.785 |
---|---|
Hunter Lab | 17.19, 16.541, -21.716 |
CIE-LAB | 19.863, 26.167, -27.752 |
CIE-LCH | 19.863, 38.143, 313.316 |
CIE-LUV | 28.09, 61.8, 0, 65.1 |
Web Safe | 333366 |
RGB percent of color #402259
CMYK percent of color #402259
Text with hexadecimal color #402259
This text has a font color of #402259
<p style="color:#402259">Text here</p>
#402259 Background Color
This box has a background color of #402259
<div style="background-color:#402259">Text here</div>
#402259 Border Color
This box has a border color of #402259
<div style="border: 4px solid #402259">Text here</div>
CSS codes
<p style="color:#402259">Text here</p>
<div style="background-color:#402259">Text here</div>
<div style="border: 4px solid #402259">Text here</div>
#402259 Color on white background
This is how a font and box color of #402259 will look
on a white background.
#402259 Color on black background
This is how a font and box color of #402259 hex color will look
on a black background.