In RGB color space, #402dfa hex color has a red value of 64, a green value of 45 and a blue value of 250.
In CMYK color space (used in color printing), #402dfa hex color is composed of 74.4% cyan, 82% magenta, 0% yellow and 1.96% black.
#402dfa color has a hue of 245.6 degrees, a saturation of 95.35% and a lightness of 57.8%.
#402dfa hex color contains mainly BLUE.
The closest web safe color of #402dfa is #3333ff
#402dfa hex color has a decimal value of 4206074.
HEX | 402dfa | #402dfa |
---|---|---|
RGB | 64, 45, 250 | rgb(64, 45, 250) |
RGB Percent | 25.1, 17.65, 98.04 | rgb(25.1, 17.65, 98.04) |
CMYK | 74, 82, 0, 2 | |
HSL | 245.6°, 95.35, 57.8 | hsl(245.6, 95.35%, 57.8%) |
HSV | 245.6°, 82, 98 |
XYZ | 20.308, 9.869, 91.277 |
---|---|
Hunter Lab | 31.415, 60.414, -150.278 |
CIE-LAB | 37.606, 67.852, -96.156 |
CIE-LCH | 37.606, 117.685, 305.209 |
CIE-LUV | 74.4, 82, 0, 1.96 |
Web Safe | 3333ff |
RGB percent of color #402dfa
CMYK percent of color #402dfa
Text with hexadecimal color #402dfa
This text has a font color of #402dfa
<p style="color:#402dfa">Text here</p>
#402dfa Background Color
This box has a background color of #402dfa
<div style="background-color:#402dfa">Text here</div>
#402dfa Border Color
This box has a border color of #402dfa
<div style="border: 4px solid #402dfa">Text here</div>
CSS codes
<p style="color:#402dfa">Text here</p>
<div style="background-color:#402dfa">Text here</div>
<div style="border: 4px solid #402dfa">Text here</div>
#402dfa Color on white background
This is how a font and box color of #402dfa will look
on a white background.
#402dfa Color on black background
This is how a font and box color of #402dfa hex color will look
on a black background.