In RGB color space, #402748 hex color has a red value of 64, a green value of 39 and a blue value of 72.
In CMYK color space (used in color printing), #402748 hex color is composed of 11.11% cyan, 45.83% magenta, 0% yellow and 71.76% black.
#402748 color has a hue of 285.5 degrees, a saturation of 29.73% and a lightness of 21.8%.
#402748 hex color contains mainly BLUE.
The closest web safe color of #402748 is #333333
#402748 hex color has a decimal value of 4204360.
HEX | 402748 | #402748 |
---|---|---|
RGB | 64, 39, 72 | rgb(64, 39, 72) |
RGB Percent | 25.1, 15.29, 28.24 | rgb(25.1, 15.29, 28.24) |
CMYK | 11, 46, 0, 72 | |
HSL | 285.5°, 29.73, 21.8 | hsl(285.5, 29.73%, 21.8%) |
HSV | 285.5°, 45.8, 28.2 |
XYZ | 4.01, 3.009, 6.5 |
---|---|
Hunter Lab | 17.346, 10.908, -10.074 |
CIE-LAB | 20.08, 18.546, -15.959 |
CIE-LCH | 20.08, 24.467, 319.288 |
CIE-LUV | 11.11, 45.83, 0, 71.76 |
Web Safe | 333333 |
RGB percent of color #402748
CMYK percent of color #402748
Text with hexadecimal color #402748
This text has a font color of #402748
<p style="color:#402748">Text here</p>
#402748 Background Color
This box has a background color of #402748
<div style="background-color:#402748">Text here</div>
#402748 Border Color
This box has a border color of #402748
<div style="border: 4px solid #402748">Text here</div>
CSS codes
<p style="color:#402748">Text here</p>
<div style="background-color:#402748">Text here</div>
<div style="border: 4px solid #402748">Text here</div>
#402748 Color on white background
This is how a font and box color of #402748 will look
on a white background.
#402748 Color on black background
This is how a font and box color of #402748 hex color will look
on a black background.