In RGB color space, #402ff8 hex color has a red value of 64, a green value of 47 and a blue value of 248.
In CMYK color space (used in color printing), #402ff8 hex color is composed of 74.19% cyan, 81.05% magenta, 0% yellow and 2.75% black.
#402ff8 color has a hue of 245.1 degrees, a saturation of 93.49% and a lightness of 57.8%.
#402ff8 hex color contains mainly BLUE.
The closest web safe color of #402ff8 is #3333ff
#402ff8 hex color has a decimal value of 4206584.
HEX | 402ff8 | #402ff8 |
---|---|---|
RGB | 64, 47, 248 | rgb(64, 47, 248) |
RGB Percent | 25.1, 18.43, 97.25 | rgb(25.1, 18.43, 97.25) |
CMYK | 74, 81, 0, 3 | |
HSL | 245.1°, 93.49, 57.8 | hsl(245.1, 93.49%, 57.8%) |
HSV | 245.1°, 81, 97.3 |
XYZ | 20.074, 9.9, 89.66 |
---|---|
Hunter Lab | 31.464, 58.819, -146.927 |
CIE-LAB | 37.662, 66.458, -94.939 |
CIE-LCH | 37.662, 115.888, 304.992 |
CIE-LUV | 74.19, 81.05, 0, 2.75 |
Web Safe | 3333ff |
RGB percent of color #402ff8
CMYK percent of color #402ff8
Text with hexadecimal color #402ff8
This text has a font color of #402ff8
<p style="color:#402ff8">Text here</p>
#402ff8 Background Color
This box has a background color of #402ff8
<div style="background-color:#402ff8">Text here</div>
#402ff8 Border Color
This box has a border color of #402ff8
<div style="border: 4px solid #402ff8">Text here</div>
CSS codes
<p style="color:#402ff8">Text here</p>
<div style="background-color:#402ff8">Text here</div>
<div style="border: 4px solid #402ff8">Text here</div>
#402ff8 Color on white background
This is how a font and box color of #402ff8 will look
on a white background.
#402ff8 Color on black background
This is how a font and box color of #402ff8 hex color will look
on a black background.