In RGB color space, #402155 hex color has a red value of 64, a green value of 33 and a blue value of 85.
In CMYK color space (used in color printing), #402155 hex color is composed of 24.71% cyan, 61.18% magenta, 0% yellow and 66.67% black.
#402155 color has a hue of 275.8 degrees, a saturation of 44.07% and a lightness of 23.1%.
#402155 hex color contains mainly BLUE.
The closest web safe color of #402155 is #333366
#402155 hex color has a decimal value of 4202837.
HEX | 402155 | #402155 |
---|---|---|
RGB | 64, 33, 85 | rgb(64, 33, 85) |
RGB Percent | 25.1, 12.94, 33.33 | rgb(25.1, 12.94, 33.33) |
CMYK | 25, 61, 0, 67 | |
HSL | 275.8°, 44.07, 23.1 | hsl(275.8, 44.07%, 23.1%) |
HSV | 275.8°, 61.2, 33.3 |
XYZ | 4.298, 2.834, 8.915 |
---|---|
Hunter Lab | 16.834, 16.112, -19.614 |
CIE-LAB | 19.366, 25.692, -25.87 |
CIE-LCH | 19.366, 36.46, 314.802 |
CIE-LUV | 24.71, 61.18, 0, 66.67 |
Web Safe | 333366 |
RGB percent of color #402155
CMYK percent of color #402155
Text with hexadecimal color #402155
This text has a font color of #402155
<p style="color:#402155">Text here</p>
#402155 Background Color
This box has a background color of #402155
<div style="background-color:#402155">Text here</div>
#402155 Border Color
This box has a border color of #402155
<div style="border: 4px solid #402155">Text here</div>
CSS codes
<p style="color:#402155">Text here</p>
<div style="background-color:#402155">Text here</div>
<div style="border: 4px solid #402155">Text here</div>
#402155 Color on white background
This is how a font and box color of #402155 will look
on a white background.
#402155 Color on black background
This is how a font and box color of #402155 hex color will look
on a black background.