In RGB color space, #402282 hex color has a red value of 64, a green value of 34 and a blue value of 130.
In CMYK color space (used in color printing), #402282 hex color is composed of 50.77% cyan, 73.85% magenta, 0% yellow and 49.02% black.
#402282 color has a hue of 258.8 degrees, a saturation of 58.54% and a lightness of 32.2%.
#402282 hex color contains mainly BLUE.
The closest web safe color of #402282 is #333399
#402282 hex color has a decimal value of 4203138.
HEX | 402282 | #402282 |
---|---|---|
RGB | 64, 34, 130 | rgb(64, 34, 130) |
RGB Percent | 25.1, 13.33, 50.98 | rgb(25.1, 13.33, 50.98) |
CMYK | 51, 74, 0, 49 | |
HSL | 258.8°, 58.54, 32.2 | hsl(258.8, 58.54%, 32.2%) |
HSV | 258.8°, 73.8, 51 |
XYZ | 6.716, 3.846, 21.507 |
---|---|
Hunter Lab | 19.611, 26.809, -51.294 |
CIE-LAB | 23.156, 37.935, -48.966 |
CIE-LCH | 23.156, 61.941, 307.766 |
CIE-LUV | 50.77, 73.85, 0, 49.02 |
Web Safe | 333399 |
RGB percent of color #402282
CMYK percent of color #402282
Text with hexadecimal color #402282
This text has a font color of #402282
<p style="color:#402282">Text here</p>
#402282 Background Color
This box has a background color of #402282
<div style="background-color:#402282">Text here</div>
#402282 Border Color
This box has a border color of #402282
<div style="border: 4px solid #402282">Text here</div>
CSS codes
<p style="color:#402282">Text here</p>
<div style="background-color:#402282">Text here</div>
<div style="border: 4px solid #402282">Text here</div>
#402282 Color on white background
This is how a font and box color of #402282 will look
on a white background.
#402282 Color on black background
This is how a font and box color of #402282 hex color will look
on a black background.