In RGB color space, #40406f hex color has a red value of 64, a green value of 64 and a blue value of 111.
In CMYK color space (used in color printing), #40406f hex color is composed of 42.34% cyan, 42.34% magenta, 0% yellow and 56.47% black.
#40406f color has a hue of 240 degrees, a saturation of 26.86% and a lightness of 34.3%.
#40406f hex color contains mainly BLUE.
The closest web safe color of #40406f is #333366
#40406f hex color has a decimal value of 4210799.
HEX | 40406f | #40406f |
---|---|---|
RGB | 64, 64, 111 | rgb(64, 64, 111) |
RGB Percent | 25.1, 25.1, 43.53 | rgb(25.1, 25.1, 43.53) |
CMYK | 42, 42, 0, 56 | |
HSL | 240°, 26.86, 34.3 | hsl(240, 26.86%, 34.3%) |
HSV | 240°, 42.3, 43.5 |
XYZ | 6.817, 5.904, 15.819 |
---|---|
Hunter Lab | 24.298, 7.558, -21.591 |
CIE-LAB | 29.169, 13.047, -27.263 |
CIE-LCH | 29.169, 30.224, 295.574 |
CIE-LUV | 42.34, 42.34, 0, 56.47 |
Web Safe | 333366 |
RGB percent of color #40406f
CMYK percent of color #40406f
Text with hexadecimal color #40406f
This text has a font color of #40406f
<p style="color:#40406f">Text here</p>
#40406f Background Color
This box has a background color of #40406f
<div style="background-color:#40406f">Text here</div>
#40406f Border Color
This box has a border color of #40406f
<div style="border: 4px solid #40406f">Text here</div>
CSS codes
<p style="color:#40406f">Text here</p>
<div style="background-color:#40406f">Text here</div>
<div style="border: 4px solid #40406f">Text here</div>
#40406f Color on white background
This is how a font and box color of #40406f will look
on a white background.
#40406f Color on black background
This is how a font and box color of #40406f hex color will look
on a black background.