In RGB color space, #402dfe hex color has a red value of 64, a green value of 45 and a blue value of 254.
In CMYK color space (used in color printing), #402dfe hex color is composed of 74.8% cyan, 82.28% magenta, 0% yellow and 0.39% black.
#402dfe color has a hue of 245.5 degrees, a saturation of 99.05% and a lightness of 58.6%.
#402dfe hex color contains mainly BLUE.
The closest web safe color of #402dfe is #3333ff
#402dfe hex color has a decimal value of 4206078.
HEX | 402dfe | #402dfe |
---|---|---|
RGB | 64, 45, 254 | rgb(64, 45, 254) |
RGB Percent | 25.1, 17.65, 99.61 | rgb(25.1, 17.65, 99.61) |
CMYK | 75, 82, 0, 0 | |
HSL | 245.5°, 99.05, 58.6 | hsl(245.5, 99.05%, 58.6%) |
HSV | 245.5°, 82.3, 99.6 |
XYZ | 20.942, 10.123, 94.616 |
---|---|
Hunter Lab | 31.817, 61.811, -154.044 |
CIE-LAB | 38.062, 68.966, -97.642 |
CIE-LCH | 38.062, 119.542, 305.234 |
CIE-LUV | 74.8, 82.28, 0, 0.39 |
Web Safe | 3333ff |
RGB percent of color #402dfe
CMYK percent of color #402dfe
Text with hexadecimal color #402dfe
This text has a font color of #402dfe
<p style="color:#402dfe">Text here</p>
#402dfe Background Color
This box has a background color of #402dfe
<div style="background-color:#402dfe">Text here</div>
#402dfe Border Color
This box has a border color of #402dfe
<div style="border: 4px solid #402dfe">Text here</div>
CSS codes
<p style="color:#402dfe">Text here</p>
<div style="background-color:#402dfe">Text here</div>
<div style="border: 4px solid #402dfe">Text here</div>
#402dfe Color on white background
This is how a font and box color of #402dfe will look
on a white background.
#402dfe Color on black background
This is how a font and box color of #402dfe hex color will look
on a black background.