In RGB color space, #402ff1 hex color has a red value of 64, a green value of 47 and a blue value of 241.
In CMYK color space (used in color printing), #402ff1 hex color is composed of 73.44% cyan, 80.5% magenta, 0% yellow and 5.49% black.
#402ff1 color has a hue of 245.3 degrees, a saturation of 87.39% and a lightness of 56.5%.
#402ff1 hex color contains mainly BLUE.
The closest web safe color of #402ff1 is #3333ff
#402ff1 hex color has a decimal value of 4206577.
HEX | 402ff1 | #402ff1 |
---|---|---|
RGB | 64, 47, 241 | rgb(64, 47, 241) |
RGB Percent | 25.1, 18.43, 94.51 | rgb(25.1, 18.43, 94.51) |
CMYK | 73, 81, 0, 5 | |
HSL | 245.3°, 87.39, 56.5 | hsl(245.3, 87.39%, 56.5%) |
HSV | 245.3°, 80.5, 94.5 |
XYZ | 19.008, 9.474, 84.046 |
---|---|
Hunter Lab | 30.78, 56.367, -140.348 |
CIE-LAB | 36.881, 64.458, -92.288 |
CIE-LCH | 36.881, 112.57, 304.932 |
CIE-LUV | 73.44, 80.5, 0, 5.49 |
Web Safe | 3333ff |
RGB percent of color #402ff1
CMYK percent of color #402ff1
Text with hexadecimal color #402ff1
This text has a font color of #402ff1
<p style="color:#402ff1">Text here</p>
#402ff1 Background Color
This box has a background color of #402ff1
<div style="background-color:#402ff1">Text here</div>
#402ff1 Border Color
This box has a border color of #402ff1
<div style="border: 4px solid #402ff1">Text here</div>
CSS codes
<p style="color:#402ff1">Text here</p>
<div style="background-color:#402ff1">Text here</div>
<div style="border: 4px solid #402ff1">Text here</div>
#402ff1 Color on white background
This is how a font and box color of #402ff1 will look
on a white background.
#402ff1 Color on black background
This is how a font and box color of #402ff1 hex color will look
on a black background.