In RGB color space, #402ecc hex color has a red value of 64, a green value of 46 and a blue value of 204.
In CMYK color space (used in color printing), #402ecc hex color is composed of 68.63% cyan, 77.45% magenta, 0% yellow and 20% black.
#402ecc color has a hue of 246.8 degrees, a saturation of 63.2% and a lightness of 49%.
#402ecc hex color contains mainly BLUE.
The closest web safe color of #402ecc is #3333cc
#402ecc hex color has a decimal value of 4206284.
HEX | 402ecc | #402ecc |
---|---|---|
RGB | 64, 46, 204 | rgb(64, 46, 204) |
RGB Percent | 25.1, 18.04, 80 | rgb(25.1, 18.04, 80) |
CMYK | 69, 77, 0, 20 | |
HSL | 246.8°, 63.2, 49 | hsl(246.8, 63.2%, 49%) |
HSV | 246.8°, 77.5, 80 |
XYZ | 13.99, 7.404, 57.818 |
---|---|
Hunter Lab | 27.21, 44.157, -106.936 |
CIE-LAB | 32.709, 54.041, -77.974 |
CIE-LCH | 32.709, 94.87, 304.724 |
CIE-LUV | 68.63, 77.45, 0, 20 |
Web Safe | 3333cc |
RGB percent of color #402ecc
CMYK percent of color #402ecc
Text with hexadecimal color #402ecc
This text has a font color of #402ecc
<p style="color:#402ecc">Text here</p>
#402ecc Background Color
This box has a background color of #402ecc
<div style="background-color:#402ecc">Text here</div>
#402ecc Border Color
This box has a border color of #402ecc
<div style="border: 4px solid #402ecc">Text here</div>
CSS codes
<p style="color:#402ecc">Text here</p>
<div style="background-color:#402ecc">Text here</div>
<div style="border: 4px solid #402ecc">Text here</div>
#402ecc Color on white background
This is how a font and box color of #402ecc will look
on a white background.
#402ecc Color on black background
This is how a font and box color of #402ecc hex color will look
on a black background.