In RGB color space, #402ef0 hex color has a red value of 64, a green value of 46 and a blue value of 240.
In CMYK color space (used in color printing), #402ef0 hex color is composed of 73.33% cyan, 80.83% magenta, 0% yellow and 5.88% black.
#402ef0 color has a hue of 245.6 degrees, a saturation of 86.61% and a lightness of 56.1%.
#402ef0 hex color contains mainly BLUE.
The closest web safe color of #402ef0 is #3333ff
#402ef0 hex color has a decimal value of 4206320.
HEX | 402ef0 | #402ef0 |
---|---|---|
RGB | 64, 46, 240 | rgb(64, 46, 240) |
RGB Percent | 25.1, 18.04, 94.12 | rgb(25.1, 18.04, 94.12) |
CMYK | 73, 81, 0, 6 | |
HSL | 245.6°, 86.61, 56.1 | hsl(245.6, 86.61%, 56.1%) |
HSV | 245.6°, 80.8, 94.1 |
XYZ | 18.82, 9.335, 83.248 |
---|---|
Hunter Lab | 30.553, 56.483, -140.159 |
CIE-LAB | 36.621, 64.611, -92.154 |
CIE-LCH | 36.621, 112.548, 305.035 |
CIE-LUV | 73.33, 80.83, 0, 5.88 |
Web Safe | 3333ff |
RGB percent of color #402ef0
CMYK percent of color #402ef0
Text with hexadecimal color #402ef0
This text has a font color of #402ef0
<p style="color:#402ef0">Text here</p>
#402ef0 Background Color
This box has a background color of #402ef0
<div style="background-color:#402ef0">Text here</div>
#402ef0 Border Color
This box has a border color of #402ef0
<div style="border: 4px solid #402ef0">Text here</div>
CSS codes
<p style="color:#402ef0">Text here</p>
<div style="background-color:#402ef0">Text here</div>
<div style="border: 4px solid #402ef0">Text here</div>
#402ef0 Color on white background
This is how a font and box color of #402ef0 will look
on a white background.
#402ef0 Color on black background
This is how a font and box color of #402ef0 hex color will look
on a black background.