In RGB color space, #402fe6 hex color has a red value of 64, a green value of 47 and a blue value of 230.
In CMYK color space (used in color printing), #402fe6 hex color is composed of 72.17% cyan, 79.57% magenta, 0% yellow and 9.8% black.
#402fe6 color has a hue of 245.6 degrees, a saturation of 78.54% and a lightness of 54.3%.
#402fe6 hex color contains mainly BLUE.
The closest web safe color of #402fe6 is #3333ff
#402fe6 hex color has a decimal value of 4206566.
HEX | 402fe6 | #402fe6 |
---|---|---|
RGB | 64, 47, 230 | rgb(64, 47, 230) |
RGB Percent | 25.1, 18.43, 90.2 | rgb(25.1, 18.43, 90.2) |
CMYK | 72, 80, 0, 10 | |
HSL | 245.6°, 78.54, 54.3 | hsl(245.6, 78.54%, 54.3%) |
HSV | 245.6°, 79.6, 90.2 |
XYZ | 17.414, 8.836, 75.651 |
---|---|
Hunter Lab | 29.725, 52.551, -130.085 |
CIE-LAB | 35.667, 61.281, -88.059 |
CIE-LCH | 35.667, 107.283, 304.834 |
CIE-LUV | 72.17, 79.57, 0, 9.8 |
Web Safe | 3333ff |
RGB percent of color #402fe6
CMYK percent of color #402fe6
Text with hexadecimal color #402fe6
This text has a font color of #402fe6
<p style="color:#402fe6">Text here</p>
#402fe6 Background Color
This box has a background color of #402fe6
<div style="background-color:#402fe6">Text here</div>
#402fe6 Border Color
This box has a border color of #402fe6
<div style="border: 4px solid #402fe6">Text here</div>
CSS codes
<p style="color:#402fe6">Text here</p>
<div style="background-color:#402fe6">Text here</div>
<div style="border: 4px solid #402fe6">Text here</div>
#402fe6 Color on white background
This is how a font and box color of #402fe6 will look
on a white background.
#402fe6 Color on black background
This is how a font and box color of #402fe6 hex color will look
on a black background.