In RGB color space, #402452 hex color has a red value of 64, a green value of 36 and a blue value of 82.
In CMYK color space (used in color printing), #402452 hex color is composed of 21.95% cyan, 56.1% magenta, 0% yellow and 67.84% black.
#402452 color has a hue of 276.5 degrees, a saturation of 38.98% and a lightness of 23.1%.
#402452 hex color contains mainly BLUE.
The closest web safe color of #402452 is #333366
#402452 hex color has a decimal value of 4203602.
HEX | 402452 | #402452 |
---|---|---|
RGB | 64, 36, 82 | rgb(64, 36, 82) |
RGB Percent | 25.1, 14.12, 32.16 | rgb(25.1, 14.12, 32.16) |
CMYK | 22, 56, 0, 68 | |
HSL | 276.5°, 38.98, 23.1 | hsl(276.5, 38.98%, 23.1%) |
HSV | 276.5°, 56.1, 32.2 |
XYZ | 4.268, 2.961, 8.329 |
---|---|
Hunter Lab | 17.208, 14.16, -16.653 |
CIE-LAB | 19.887, 23.033, -23.026 |
CIE-LCH | 19.887, 32.569, 315.009 |
CIE-LUV | 21.95, 56.1, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #402452
CMYK percent of color #402452
Text with hexadecimal color #402452
This text has a font color of #402452
<p style="color:#402452">Text here</p>
#402452 Background Color
This box has a background color of #402452
<div style="background-color:#402452">Text here</div>
#402452 Border Color
This box has a border color of #402452
<div style="border: 4px solid #402452">Text here</div>
CSS codes
<p style="color:#402452">Text here</p>
<div style="background-color:#402452">Text here</div>
<div style="border: 4px solid #402452">Text here</div>
#402452 Color on white background
This is how a font and box color of #402452 will look
on a white background.
#402452 Color on black background
This is how a font and box color of #402452 hex color will look
on a black background.