In RGB color space, #402ac6 hex color has a red value of 64, a green value of 42 and a blue value of 198.
In CMYK color space (used in color printing), #402ac6 hex color is composed of 67.68% cyan, 78.79% magenta, 0% yellow and 22.35% black.
#402ac6 color has a hue of 248.5 degrees, a saturation of 65% and a lightness of 47.1%.
#402ac6 hex color contains mainly BLUE.
The closest web safe color of #402ac6 is #3333cc
#402ac6 hex color has a decimal value of 4205254.
HEX | 402ac6 | #402ac6 |
---|---|---|
RGB | 64, 42, 198 | rgb(64, 42, 198) |
RGB Percent | 25.1, 16.47, 77.65 | rgb(25.1, 16.47, 77.65) |
CMYK | 68, 79, 0, 22 | |
HSL | 248.5°, 65, 47.1 | hsl(248.5, 65%, 47.1%) |
HSV | 248.5°, 78.8, 77.6 |
XYZ | 13.135, 6.823, 54.051 |
---|---|
Hunter Lab | 26.121, 44.048, -104.402 |
CIE-LAB | 31.401, 54.191, -76.635 |
CIE-LCH | 31.401, 93.859, 305.265 |
CIE-LUV | 67.68, 78.79, 0, 22.35 |
Web Safe | 3333cc |
RGB percent of color #402ac6
CMYK percent of color #402ac6
Text with hexadecimal color #402ac6
This text has a font color of #402ac6
<p style="color:#402ac6">Text here</p>
#402ac6 Background Color
This box has a background color of #402ac6
<div style="background-color:#402ac6">Text here</div>
#402ac6 Border Color
This box has a border color of #402ac6
<div style="border: 4px solid #402ac6">Text here</div>
CSS codes
<p style="color:#402ac6">Text here</p>
<div style="background-color:#402ac6">Text here</div>
<div style="border: 4px solid #402ac6">Text here</div>
#402ac6 Color on white background
This is how a font and box color of #402ac6 will look
on a white background.
#402ac6 Color on black background
This is how a font and box color of #402ac6 hex color will look
on a black background.