In RGB color space, #402145 hex color has a red value of 64, a green value of 33 and a blue value of 69.
In CMYK color space (used in color printing), #402145 hex color is composed of 7.25% cyan, 52.17% magenta, 0% yellow and 72.94% black.
#402145 color has a hue of 291.7 degrees, a saturation of 35.29% and a lightness of 20%.
#402145 hex color contains mainly BLUE.
The closest web safe color of #402145 is #333333
#402145 hex color has a decimal value of 4202821.
HEX | 402145 | #402145 |
---|---|---|
RGB | 64, 33, 69 | rgb(64, 33, 69) |
RGB Percent | 25.1, 12.94, 27.06 | rgb(25.1, 12.94, 27.06) |
CMYK | 7, 52, 0, 73 | |
HSL | 291.7°, 35.29, 20 | hsl(291.7, 35.29%, 20%) |
HSV | 291.7°, 52.2, 27.1 |
XYZ | 3.732, 2.607, 5.937 |
---|---|
Hunter Lab | 16.146, 13.002, -10.499 |
CIE-LAB | 18.396, 21.686, -16.537 |
CIE-LCH | 18.396, 27.272, 322.672 |
CIE-LUV | 7.25, 52.17, 0, 72.94 |
Web Safe | 333333 |
RGB percent of color #402145
CMYK percent of color #402145
Text with hexadecimal color #402145
This text has a font color of #402145
<p style="color:#402145">Text here</p>
#402145 Background Color
This box has a background color of #402145
<div style="background-color:#402145">Text here</div>
#402145 Border Color
This box has a border color of #402145
<div style="border: 4px solid #402145">Text here</div>
CSS codes
<p style="color:#402145">Text here</p>
<div style="background-color:#402145">Text here</div>
<div style="border: 4px solid #402145">Text here</div>
#402145 Color on white background
This is how a font and box color of #402145 will look
on a white background.
#402145 Color on black background
This is how a font and box color of #402145 hex color will look
on a black background.