In RGB color space, #40406c hex color has a red value of 64, a green value of 64 and a blue value of 108.
In CMYK color space (used in color printing), #40406c hex color is composed of 40.74% cyan, 40.74% magenta, 0% yellow and 57.65% black.
#40406c color has a hue of 240 degrees, a saturation of 25.58% and a lightness of 33.7%.
#40406c hex color contains mainly BLUE.
The closest web safe color of #40406c is #333366
#40406c hex color has a decimal value of 4210796.
HEX | 40406c | #40406c |
---|---|---|
RGB | 64, 64, 108 | rgb(64, 64, 108) |
RGB Percent | 25.1, 25.1, 42.35 | rgb(25.1, 25.1, 42.35) |
CMYK | 41, 41, 0, 58 | |
HSL | 240°, 25.58, 33.7 | hsl(240, 25.58%, 33.7%) |
HSV | 240°, 40.7, 42.4 |
XYZ | 6.655, 5.839, 14.964 |
---|---|
Hunter Lab | 24.164, 6.874, -19.802 |
CIE-LAB | 29.003, 12.105, -25.62 |
CIE-LCH | 29.003, 28.336, 295.29 |
CIE-LUV | 40.74, 40.74, 0, 57.65 |
Web Safe | 333366 |
RGB percent of color #40406c
CMYK percent of color #40406c
Text with hexadecimal color #40406c
This text has a font color of #40406c
<p style="color:#40406c">Text here</p>
#40406c Background Color
This box has a background color of #40406c
<div style="background-color:#40406c">Text here</div>
#40406c Border Color
This box has a border color of #40406c
<div style="border: 4px solid #40406c">Text here</div>
CSS codes
<p style="color:#40406c">Text here</p>
<div style="background-color:#40406c">Text here</div>
<div style="border: 4px solid #40406c">Text here</div>
#40406c Color on white background
This is how a font and box color of #40406c will look
on a white background.
#40406c Color on black background
This is how a font and box color of #40406c hex color will look
on a black background.