In RGB color space, #402882 hex color has a red value of 64, a green value of 40 and a blue value of 130.
In CMYK color space (used in color printing), #402882 hex color is composed of 50.77% cyan, 69.23% magenta, 0% yellow and 49.02% black.
#402882 color has a hue of 256 degrees, a saturation of 52.94% and a lightness of 33.3%.
#402882 hex color contains mainly BLUE.
The closest web safe color of #402882 is #333399
#402882 hex color has a decimal value of 4204674.
HEX | 402882 | #402882 |
---|---|---|
RGB | 64, 40, 130 | rgb(64, 40, 130) |
RGB Percent | 25.1, 15.69, 50.98 | rgb(25.1, 15.69, 50.98) |
CMYK | 51, 69, 0, 49 | |
HSL | 256°, 52.94, 33.3 | hsl(256, 52.94%, 33.3%) |
HSV | 256°, 69.2, 51 |
XYZ | 6.902, 4.219, 21.57 |
---|---|
Hunter Lab | 20.54, 24.035, -47.884 |
CIE-LAB | 24.383, 34.538, -46.964 |
CIE-LCH | 24.383, 58.297, 306.331 |
CIE-LUV | 50.77, 69.23, 0, 49.02 |
Web Safe | 333399 |
RGB percent of color #402882
CMYK percent of color #402882
Text with hexadecimal color #402882
This text has a font color of #402882
<p style="color:#402882">Text here</p>
#402882 Background Color
This box has a background color of #402882
<div style="background-color:#402882">Text here</div>
#402882 Border Color
This box has a border color of #402882
<div style="border: 4px solid #402882">Text here</div>
CSS codes
<p style="color:#402882">Text here</p>
<div style="background-color:#402882">Text here</div>
<div style="border: 4px solid #402882">Text here</div>
#402882 Color on white background
This is how a font and box color of #402882 will look
on a white background.
#402882 Color on black background
This is how a font and box color of #402882 hex color will look
on a black background.