In RGB color space, #402df2 hex color has a red value of 64, a green value of 45 and a blue value of 242.
In CMYK color space (used in color printing), #402df2 hex color is composed of 73.55% cyan, 81.4% magenta, 0% yellow and 5.1% black.
#402df2 color has a hue of 245.8 degrees, a saturation of 88.34% and a lightness of 56.3%.
#402df2 hex color contains mainly BLUE.
The closest web safe color of #402df2 is #3333ff
#402df2 hex color has a decimal value of 4206066.
HEX | 402df2 | #402df2 |
---|---|---|
RGB | 64, 45, 242 | rgb(64, 45, 242) |
RGB Percent | 25.1, 17.65, 94.9 | rgb(25.1, 17.65, 94.9) |
CMYK | 74, 81, 0, 5 | |
HSL | 245.8°, 88.34, 56.3 | hsl(245.8, 88.34%, 56.3%) |
HSV | 245.8°, 81.4, 94.9 |
XYZ | 19.08, 9.378, 84.809 |
---|---|
Hunter Lab | 30.624, 57.623, -142.762 |
CIE-LAB | 36.702, 65.599, -93.151 |
CIE-LCH | 36.702, 113.931, 305.154 |
CIE-LUV | 73.55, 81.4, 0, 5.1 |
Web Safe | 3333ff |
RGB percent of color #402df2
CMYK percent of color #402df2
Text with hexadecimal color #402df2
This text has a font color of #402df2
<p style="color:#402df2">Text here</p>
#402df2 Background Color
This box has a background color of #402df2
<div style="background-color:#402df2">Text here</div>
#402df2 Border Color
This box has a border color of #402df2
<div style="border: 4px solid #402df2">Text here</div>
CSS codes
<p style="color:#402df2">Text here</p>
<div style="background-color:#402df2">Text here</div>
<div style="border: 4px solid #402df2">Text here</div>
#402df2 Color on white background
This is how a font and box color of #402df2 will look
on a white background.
#402df2 Color on black background
This is how a font and box color of #402df2 hex color will look
on a black background.