In RGB color space, #402152 hex color has a red value of 64, a green value of 33 and a blue value of 82.
In CMYK color space (used in color printing), #402152 hex color is composed of 21.95% cyan, 59.76% magenta, 0% yellow and 67.84% black.
#402152 color has a hue of 278 degrees, a saturation of 42.61% and a lightness of 22.5%.
#402152 hex color contains mainly BLUE.
The closest web safe color of #402152 is #333366
#402152 hex color has a decimal value of 4202834.
HEX | 402152 | #402152 |
---|---|---|
RGB | 64, 33, 82 | rgb(64, 33, 82) |
RGB Percent | 25.1, 12.94, 32.16 | rgb(25.1, 12.94, 32.16) |
CMYK | 22, 60, 0, 68 | |
HSL | 278°, 42.61, 22.5 | hsl(278, 42.61%, 22.5%) |
HSV | 278°, 59.8, 32.2 |
XYZ | 4.181, 2.787, 8.3 |
---|---|
Hunter Lab | 16.694, 15.489, -17.792 |
CIE-LAB | 19.17, 24.908, -24.164 |
CIE-LCH | 19.17, 34.703, 315.869 |
CIE-LUV | 21.95, 59.76, 0, 67.84 |
Web Safe | 333366 |
RGB percent of color #402152
CMYK percent of color #402152
Text with hexadecimal color #402152
This text has a font color of #402152
<p style="color:#402152">Text here</p>
#402152 Background Color
This box has a background color of #402152
<div style="background-color:#402152">Text here</div>
#402152 Border Color
This box has a border color of #402152
<div style="border: 4px solid #402152">Text here</div>
CSS codes
<p style="color:#402152">Text here</p>
<div style="background-color:#402152">Text here</div>
<div style="border: 4px solid #402152">Text here</div>
#402152 Color on white background
This is how a font and box color of #402152 will look
on a white background.
#402152 Color on black background
This is how a font and box color of #402152 hex color will look
on a black background.