In RGB color space, #402ce4 hex color has a red value of 64, a green value of 44 and a blue value of 228.
In CMYK color space (used in color printing), #402ce4 hex color is composed of 71.93% cyan, 80.7% magenta, 0% yellow and 10.59% black.
#402ce4 color has a hue of 246.5 degrees, a saturation of 77.31% and a lightness of 53.3%.
#402ce4 hex color contains mainly BLUE.
The closest web safe color of #402ce4 is #3333cc
#402ce4 hex color has a decimal value of 4205796.
HEX | 402ce4 | #402ce4 |
---|---|---|
RGB | 64, 44, 228 | rgb(64, 44, 228) |
RGB Percent | 25.1, 17.25, 89.41 | rgb(25.1, 17.25, 89.41) |
CMYK | 72, 81, 0, 11 | |
HSL | 246.5°, 77.31, 53.3 | hsl(246.5, 77.31%, 53.3%) |
HSV | 246.5°, 80.7, 89.4 |
XYZ | 17.019, 8.493, 74.141 |
---|---|
Hunter Lab | 29.143, 53.242, -130.438 |
CIE-LAB | 34.989, 62.037, -88.04 |
CIE-LCH | 34.989, 107.702, 305.17 |
CIE-LUV | 71.93, 80.7, 0, 10.59 |
Web Safe | 3333cc |
RGB percent of color #402ce4
CMYK percent of color #402ce4
Text with hexadecimal color #402ce4
This text has a font color of #402ce4
<p style="color:#402ce4">Text here</p>
#402ce4 Background Color
This box has a background color of #402ce4
<div style="background-color:#402ce4">Text here</div>
#402ce4 Border Color
This box has a border color of #402ce4
<div style="border: 4px solid #402ce4">Text here</div>
CSS codes
<p style="color:#402ce4">Text here</p>
<div style="background-color:#402ce4">Text here</div>
<div style="border: 4px solid #402ce4">Text here</div>
#402ce4 Color on white background
This is how a font and box color of #402ce4 will look
on a white background.
#402ce4 Color on black background
This is how a font and box color of #402ce4 hex color will look
on a black background.