In RGB color space, #402ad7 hex color has a red value of 64, a green value of 42 and a blue value of 215.
In CMYK color space (used in color printing), #402ad7 hex color is composed of 70.23% cyan, 80.47% magenta, 0% yellow and 15.69% black.
#402ad7 color has a hue of 247.6 degrees, a saturation of 68.38% and a lightness of 50.4%.
#402ad7 hex color contains mainly BLUE.
The closest web safe color of #402ad7 is #3333cc
#402ad7 hex color has a decimal value of 4205271.
HEX | 402ad7 | #402ad7 |
---|---|---|
RGB | 64, 42, 215 | rgb(64, 42, 215) |
RGB Percent | 25.1, 16.47, 84.31 | rgb(25.1, 16.47, 84.31) |
CMYK | 70, 80, 0, 16 | |
HSL | 247.6°, 68.38, 50.4 | hsl(247.6, 68.38%, 50.4%) |
HSV | 247.6°, 80.5, 84.3 |
XYZ | 15.208, 7.652, 64.965 |
---|---|
Hunter Lab | 27.662, 49.726, -119.879 |
CIE-LAB | 33.247, 59.172, -83.463 |
CIE-LCH | 33.247, 102.31, 305.335 |
CIE-LUV | 70.23, 80.47, 0, 15.69 |
Web Safe | 3333cc |
RGB percent of color #402ad7
CMYK percent of color #402ad7
Text with hexadecimal color #402ad7
This text has a font color of #402ad7
<p style="color:#402ad7">Text here</p>
#402ad7 Background Color
This box has a background color of #402ad7
<div style="background-color:#402ad7">Text here</div>
#402ad7 Border Color
This box has a border color of #402ad7
<div style="border: 4px solid #402ad7">Text here</div>
CSS codes
<p style="color:#402ad7">Text here</p>
<div style="background-color:#402ad7">Text here</div>
<div style="border: 4px solid #402ad7">Text here</div>
#402ad7 Color on white background
This is how a font and box color of #402ad7 will look
on a white background.
#402ad7 Color on black background
This is how a font and box color of #402ad7 hex color will look
on a black background.