In RGB color space, #402afb hex color has a red value of 64, a green value of 42 and a blue value of 251.
In CMYK color space (used in color printing), #402afb hex color is composed of 74.5% cyan, 83.27% magenta, 0% yellow and 1.57% black.
#402afb color has a hue of 246.3 degrees, a saturation of 96.31% and a lightness of 57.5%.
#402afb hex color contains mainly BLUE.
The closest web safe color of #402afb is #3333ff
#402afb hex color has a decimal value of 4205307.
HEX | 402afb | #402afb |
---|---|---|
RGB | 64, 42, 251 | rgb(64, 42, 251) |
RGB Percent | 25.1, 16.47, 98.43 | rgb(25.1, 16.47, 98.43) |
CMYK | 75, 83, 0, 2 | |
HSL | 246.3°, 96.31, 57.5 | hsl(246.3, 96.31%, 57.5%) |
HSV | 246.3°, 83.3, 98.4 |
XYZ | 20.355, 9.711, 92.068 |
---|---|
Hunter Lab | 31.162, 62.06, -153.356 |
CIE-LAB | 37.319, 69.323, -97.195 |
CIE-LCH | 37.319, 119.384, 305.498 |
CIE-LUV | 74.5, 83.27, 0, 1.57 |
Web Safe | 3333ff |
RGB percent of color #402afb
CMYK percent of color #402afb
Text with hexadecimal color #402afb
This text has a font color of #402afb
<p style="color:#402afb">Text here</p>
#402afb Background Color
This box has a background color of #402afb
<div style="background-color:#402afb">Text here</div>
#402afb Border Color
This box has a border color of #402afb
<div style="border: 4px solid #402afb">Text here</div>
CSS codes
<p style="color:#402afb">Text here</p>
<div style="background-color:#402afb">Text here</div>
<div style="border: 4px solid #402afb">Text here</div>
#402afb Color on white background
This is how a font and box color of #402afb will look
on a white background.
#402afb Color on black background
This is how a font and box color of #402afb hex color will look
on a black background.