In RGB color space, #402cec hex color has a red value of 64, a green value of 44 and a blue value of 236.
In CMYK color space (used in color printing), #402cec hex color is composed of 72.88% cyan, 81.36% magenta, 0% yellow and 7.45% black.
#402cec color has a hue of 246.3 degrees, a saturation of 83.48% and a lightness of 54.9%.
#402cec hex color contains mainly BLUE.
The closest web safe color of #402cec is #3333ff
#402cec hex color has a decimal value of 4205804.
HEX | 402cec | #402cec |
---|---|---|
RGB | 64, 44, 236 | rgb(64, 44, 236) |
RGB Percent | 25.1, 17.25, 92.55 | rgb(25.1, 17.25, 92.55) |
CMYK | 73, 81, 0, 7 | |
HSL | 246.3°, 83.48, 54.9 | hsl(246.3, 83.48%, 54.9%) |
HSV | 246.3°, 81.4, 92.5 |
XYZ | 18.155, 8.947, 80.127 |
---|---|
Hunter Lab | 29.912, 55.997, -137.888 |
CIE-LAB | 35.882, 64.324, -91.114 |
CIE-LCH | 35.882, 111.532, 305.221 |
CIE-LUV | 72.88, 81.36, 0, 7.45 |
Web Safe | 3333ff |
RGB percent of color #402cec
CMYK percent of color #402cec
Text with hexadecimal color #402cec
This text has a font color of #402cec
<p style="color:#402cec">Text here</p>
#402cec Background Color
This box has a background color of #402cec
<div style="background-color:#402cec">Text here</div>
#402cec Border Color
This box has a border color of #402cec
<div style="border: 4px solid #402cec">Text here</div>
CSS codes
<p style="color:#402cec">Text here</p>
<div style="background-color:#402cec">Text here</div>
<div style="border: 4px solid #402cec">Text here</div>
#402cec Color on white background
This is how a font and box color of #402cec will look
on a white background.
#402cec Color on black background
This is how a font and box color of #402cec hex color will look
on a black background.