In RGB color space, #402fc6 hex color has a red value of 64, a green value of 47 and a blue value of 198.
In CMYK color space (used in color printing), #402fc6 hex color is composed of 67.68% cyan, 76.26% magenta, 0% yellow and 22.35% black.
#402fc6 color has a hue of 246.8 degrees, a saturation of 61.63% and a lightness of 48%.
#402fc6 hex color contains mainly BLUE.
The closest web safe color of #402fc6 is #3333cc
#402fc6 hex color has a decimal value of 4206534.
HEX | 402fc6 | #402fc6 |
---|---|---|
RGB | 64, 47, 198 | rgb(64, 47, 198) |
RGB Percent | 25.1, 18.43, 77.65 | rgb(25.1, 18.43, 77.65) |
CMYK | 68, 76, 0, 22 | |
HSL | 246.8°, 61.63, 48 | hsl(246.8, 61.63%, 48%) |
HSV | 246.8°, 76.3, 77.6 |
XYZ | 13.324, 7.2, 54.114 |
---|---|
Hunter Lab | 26.833, 41.678, -100.788 |
CIE-LAB | 32.258, 51.73, -75.218 |
CIE-LCH | 32.258, 91.289, 304.518 |
CIE-LUV | 67.68, 76.26, 0, 22.35 |
Web Safe | 3333cc |
RGB percent of color #402fc6
CMYK percent of color #402fc6
Text with hexadecimal color #402fc6
This text has a font color of #402fc6
<p style="color:#402fc6">Text here</p>
#402fc6 Background Color
This box has a background color of #402fc6
<div style="background-color:#402fc6">Text here</div>
#402fc6 Border Color
This box has a border color of #402fc6
<div style="border: 4px solid #402fc6">Text here</div>
CSS codes
<p style="color:#402fc6">Text here</p>
<div style="background-color:#402fc6">Text here</div>
<div style="border: 4px solid #402fc6">Text here</div>
#402fc6 Color on white background
This is how a font and box color of #402fc6 will look
on a white background.
#402fc6 Color on black background
This is how a font and box color of #402fc6 hex color will look
on a black background.