In RGB color space, #402ecf hex color has a red value of 64, a green value of 46 and a blue value of 207.
In CMYK color space (used in color printing), #402ecf hex color is composed of 69.08% cyan, 77.78% magenta, 0% yellow and 18.82% black.
#402ecf color has a hue of 246.7 degrees, a saturation of 63.64% and a lightness of 49.6%.
#402ecf hex color contains mainly BLUE.
The closest web safe color of #402ecf is #3333cc
#402ecf hex color has a decimal value of 4206287.
HEX | 402ecf | #402ecf |
---|---|---|
RGB | 64, 46, 207 | rgb(64, 46, 207) |
RGB Percent | 25.1, 18.04, 81.18 | rgb(25.1, 18.04, 81.18) |
CMYK | 69, 78, 0, 19 | |
HSL | 246.7°, 63.64, 49.6 | hsl(246.7, 63.64%, 49.6%) |
HSV | 246.7°, 77.8, 81.2 |
XYZ | 14.354, 7.549, 59.732 |
---|---|
Hunter Lab | 27.475, 45.172, -109.664 |
CIE-LAB | 33.025, 54.949, -79.197 |
CIE-LCH | 33.025, 96.393, 304.754 |
CIE-LUV | 69.08, 77.78, 0, 18.82 |
Web Safe | 3333cc |
RGB percent of color #402ecf
CMYK percent of color #402ecf
Text with hexadecimal color #402ecf
This text has a font color of #402ecf
<p style="color:#402ecf">Text here</p>
#402ecf Background Color
This box has a background color of #402ecf
<div style="background-color:#402ecf">Text here</div>
#402ecf Border Color
This box has a border color of #402ecf
<div style="border: 4px solid #402ecf">Text here</div>
CSS codes
<p style="color:#402ecf">Text here</p>
<div style="background-color:#402ecf">Text here</div>
<div style="border: 4px solid #402ecf">Text here</div>
#402ecf Color on white background
This is how a font and box color of #402ecf will look
on a white background.
#402ecf Color on black background
This is how a font and box color of #402ecf hex color will look
on a black background.