In RGB color space, #402af0 hex color has a red value of 64, a green value of 42 and a blue value of 240.
In CMYK color space (used in color printing), #402af0 hex color is composed of 73.33% cyan, 82.5% magenta, 0% yellow and 5.88% black.
#402af0 color has a hue of 246.7 degrees, a saturation of 86.84% and a lightness of 55.3%.
#402af0 hex color contains mainly BLUE.
The closest web safe color of #402af0 is #3333ff
#402af0 hex color has a decimal value of 4205296.
HEX | 402af0 | #402af0 |
---|---|---|
RGB | 64, 42, 240 | rgb(64, 42, 240) |
RGB Percent | 25.1, 16.47, 94.12 | rgb(25.1, 16.47, 94.12) |
CMYK | 73, 83, 0, 6 | |
HSL | 246.7°, 86.84, 55.3 | hsl(246.7, 86.84%, 55.3%) |
HSV | 246.7°, 82.5, 94.1 |
XYZ | 18.67, 9.037, 83.198 |
---|---|
Hunter Lab | 30.062, 58.251, -143.047 |
CIE-LAB | 36.055, 66.274, -93.093 |
CIE-LCH | 36.055, 114.274, 305.448 |
CIE-LUV | 73.33, 82.5, 0, 5.88 |
Web Safe | 3333ff |
RGB percent of color #402af0
CMYK percent of color #402af0
Text with hexadecimal color #402af0
This text has a font color of #402af0
<p style="color:#402af0">Text here</p>
#402af0 Background Color
This box has a background color of #402af0
<div style="background-color:#402af0">Text here</div>
#402af0 Border Color
This box has a border color of #402af0
<div style="border: 4px solid #402af0">Text here</div>
CSS codes
<p style="color:#402af0">Text here</p>
<div style="background-color:#402af0">Text here</div>
<div style="border: 4px solid #402af0">Text here</div>
#402af0 Color on white background
This is how a font and box color of #402af0 will look
on a white background.
#402af0 Color on black background
This is how a font and box color of #402af0 hex color will look
on a black background.