In RGB color space, #402e6c hex color has a red value of 64, a green value of 46 and a blue value of 108.
In CMYK color space (used in color printing), #402e6c hex color is composed of 40.74% cyan, 57.41% magenta, 0% yellow and 57.65% black.
#402e6c color has a hue of 257.4 degrees, a saturation of 40.26% and a lightness of 30.2%.
#402e6c hex color contains mainly BLUE.
The closest web safe color of #402e6c is #333366
#402e6c hex color has a decimal value of 4206188.
HEX | 402e6c | #402e6c |
---|---|---|
RGB | 64, 46, 108 | rgb(64, 46, 108) |
RGB Percent | 25.1, 18.04, 42.35 | rgb(25.1, 18.04, 42.35) |
CMYK | 41, 57, 0, 58 | |
HSL | 257.4°, 40.26, 30.2 | hsl(257.4, 40.26%, 30.2%) |
HSV | 257.4°, 57.4, 42.4 |
XYZ | 5.798, 4.127, 14.678 |
---|---|
Hunter Lab | 20.315, 15.393, -28.618 |
CIE-LAB | 24.087, 24.038, -33.434 |
CIE-LCH | 24.087, 41.178, 305.715 |
CIE-LUV | 40.74, 57.41, 0, 57.65 |
Web Safe | 333366 |
RGB percent of color #402e6c
CMYK percent of color #402e6c
Text with hexadecimal color #402e6c
This text has a font color of #402e6c
<p style="color:#402e6c">Text here</p>
#402e6c Background Color
This box has a background color of #402e6c
<div style="background-color:#402e6c">Text here</div>
#402e6c Border Color
This box has a border color of #402e6c
<div style="border: 4px solid #402e6c">Text here</div>
CSS codes
<p style="color:#402e6c">Text here</p>
<div style="background-color:#402e6c">Text here</div>
<div style="border: 4px solid #402e6c">Text here</div>
#402e6c Color on white background
This is how a font and box color of #402e6c will look
on a white background.
#402e6c Color on black background
This is how a font and box color of #402e6c hex color will look
on a black background.