In RGB color space, #402dfb hex color has a red value of 64, a green value of 45 and a blue value of 251.
In CMYK color space (used in color printing), #402dfb hex color is composed of 74.5% cyan, 82.07% magenta, 0% yellow and 1.57% black.
#402dfb color has a hue of 245.5 degrees, a saturation of 96.26% and a lightness of 58%.
#402dfb hex color contains mainly BLUE.
The closest web safe color of #402dfb is #3333ff
#402dfb hex color has a decimal value of 4206075.
HEX | 402dfb | #402dfb |
---|---|---|
RGB | 64, 45, 251 | rgb(64, 45, 251) |
RGB Percent | 25.1, 17.65, 98.43 | rgb(25.1, 17.65, 98.43) |
CMYK | 75, 82, 0, 2 | |
HSL | 245.5°, 96.26, 58 | hsl(245.5, 96.26%, 58%) |
HSV | 245.5°, 82.1, 98.4 |
XYZ | 20.465, 9.932, 92.105 |
---|---|
Hunter Lab | 31.515, 60.761, -151.219 |
CIE-LAB | 37.72, 68.13, -96.528 |
CIE-LCH | 37.72, 118.15, 305.215 |
CIE-LUV | 74.5, 82.07, 0, 1.57 |
Web Safe | 3333ff |
RGB percent of color #402dfb
CMYK percent of color #402dfb
Text with hexadecimal color #402dfb
This text has a font color of #402dfb
<p style="color:#402dfb">Text here</p>
#402dfb Background Color
This box has a background color of #402dfb
<div style="background-color:#402dfb">Text here</div>
#402dfb Border Color
This box has a border color of #402dfb
<div style="border: 4px solid #402dfb">Text here</div>
CSS codes
<p style="color:#402dfb">Text here</p>
<div style="background-color:#402dfb">Text here</div>
<div style="border: 4px solid #402dfb">Text here</div>
#402dfb Color on white background
This is how a font and box color of #402dfb will look
on a white background.
#402dfb Color on black background
This is how a font and box color of #402dfb hex color will look
on a black background.