In RGB color space, #402eff hex color has a red value of 64, a green value of 46 and a blue value of 255.
In CMYK color space (used in color printing), #402eff hex color is composed of 74.9% cyan, 81.96% magenta, 0% yellow and 0% black.
#402eff color has a hue of 245.2 degrees, a saturation of 100% and a lightness of 59%.
#402eff hex color contains mainly BLUE.
The closest web safe color of #402eff is #3333ff
#402eff hex color has a decimal value of 4206335.
HEX | 402eff | #402eff |
---|---|---|
RGB | 64, 46, 255 | rgb(64, 46, 255) |
RGB Percent | 25.1, 18.04, 100 | rgb(25.1, 18.04, 100) |
CMYK | 75, 82, 0, 0 | |
HSL | 245.2°, 100, 59 | hsl(245.2, 100%, 59%) |
HSV | 245.2°, 82, 100 |
XYZ | 21.141, 10.264, 95.475 |
---|---|
Hunter Lab | 32.037, 61.724, -154.264 |
CIE-LAB | 38.312, 68.842, -97.787 |
CIE-LCH | 38.312, 119.589, 305.146 |
CIE-LUV | 74.9, 81.96, 0, 0 |
Web Safe | 3333ff |
RGB percent of color #402eff
CMYK percent of color #402eff
Text with hexadecimal color #402eff
This text has a font color of #402eff
<p style="color:#402eff">Text here</p>
#402eff Background Color
This box has a background color of #402eff
<div style="background-color:#402eff">Text here</div>
#402eff Border Color
This box has a border color of #402eff
<div style="border: 4px solid #402eff">Text here</div>
CSS codes
<p style="color:#402eff">Text here</p>
<div style="background-color:#402eff">Text here</div>
<div style="border: 4px solid #402eff">Text here</div>
#402eff Color on white background
This is how a font and box color of #402eff will look
on a white background.
#402eff Color on black background
This is how a font and box color of #402eff hex color will look
on a black background.