In RGB color space, #402e78 hex color has a red value of 64, a green value of 46 and a blue value of 120.
In CMYK color space (used in color printing), #402e78 hex color is composed of 46.67% cyan, 61.67% magenta, 0% yellow and 52.94% black.
#402e78 color has a hue of 254.6 degrees, a saturation of 44.58% and a lightness of 32.5%.
#402e78 hex color contains mainly BLUE.
The closest web safe color of #402e78 is #333366
#402e78 hex color has a decimal value of 4206200.
HEX | 402e78 | #402e78 |
---|---|---|
RGB | 64, 46, 120 | rgb(64, 46, 120) |
RGB Percent | 25.1, 18.04, 47.06 | rgb(25.1, 18.04, 47.06) |
CMYK | 47, 62, 0, 53 | |
HSL | 254.6°, 44.58, 32.5 | hsl(254.6, 44.58%, 32.5%) |
HSV | 254.6°, 61.7, 47.1 |
XYZ | 6.482, 4.4, 18.277 |
---|---|
Hunter Lab | 20.976, 18.451, -36.977 |
CIE-LAB | 24.952, 27.763, -39.719 |
CIE-LCH | 24.952, 48.46, 304.953 |
CIE-LUV | 46.67, 61.67, 0, 52.94 |
Web Safe | 333366 |
RGB percent of color #402e78
CMYK percent of color #402e78
Text with hexadecimal color #402e78
This text has a font color of #402e78
<p style="color:#402e78">Text here</p>
#402e78 Background Color
This box has a background color of #402e78
<div style="background-color:#402e78">Text here</div>
#402e78 Border Color
This box has a border color of #402e78
<div style="border: 4px solid #402e78">Text here</div>
CSS codes
<p style="color:#402e78">Text here</p>
<div style="background-color:#402e78">Text here</div>
<div style="border: 4px solid #402e78">Text here</div>
#402e78 Color on white background
This is how a font and box color of #402e78 will look
on a white background.
#402e78 Color on black background
This is how a font and box color of #402e78 hex color will look
on a black background.