In RGB color space, #402dff hex color has a red value of 64, a green value of 45 and a blue value of 255.
In CMYK color space (used in color printing), #402dff hex color is composed of 74.9% cyan, 82.35% magenta, 0% yellow and 0% black.
#402dff color has a hue of 245.4 degrees, a saturation of 100% and a lightness of 58.8%.
#402dff hex color contains mainly BLUE.
The closest web safe color of #402dff is #3333ff
#402dff hex color has a decimal value of 4206079.
HEX | 402dff | #402dff |
---|---|---|
RGB | 64, 45, 255 | rgb(64, 45, 255) |
RGB Percent | 25.1, 17.65, 100 | rgb(25.1, 17.65, 100) |
CMYK | 75, 82, 0, 0 | |
HSL | 245.4°, 100, 58.8 | hsl(245.4, 100%, 58.8%) |
HSV | 245.4°, 82.4, 100 |
XYZ | 21.103, 10.187, 95.462 |
---|---|
Hunter Lab | 31.917, 62.166, -154.991 |
CIE-LAB | 38.176, 69.248, -98.013 |
CIE-LCH | 38.176, 120.008, 305.242 |
CIE-LUV | 74.9, 82.35, 0, 0 |
Web Safe | 3333ff |
RGB percent of color #402dff
CMYK percent of color #402dff
Text with hexadecimal color #402dff
This text has a font color of #402dff
<p style="color:#402dff">Text here</p>
#402dff Background Color
This box has a background color of #402dff
<div style="background-color:#402dff">Text here</div>
#402dff Border Color
This box has a border color of #402dff
<div style="border: 4px solid #402dff">Text here</div>
CSS codes
<p style="color:#402dff">Text here</p>
<div style="background-color:#402dff">Text here</div>
<div style="border: 4px solid #402dff">Text here</div>
#402dff Color on white background
This is how a font and box color of #402dff will look
on a white background.
#402dff Color on black background
This is how a font and box color of #402dff hex color will look
on a black background.