In RGB color space, #400c9c hex color has a red value of 64, a green value of 12 and a blue value of 156.
In CMYK color space (used in color printing), #400c9c hex color is composed of 58.97% cyan, 92.31% magenta, 0% yellow and 38.82% black.
#400c9c color has a hue of 261.7 degrees, a saturation of 85.71% and a lightness of 32.9%.
#400c9c hex color contains mainly BLUE.
The closest web safe color of #400c9c is #330099
#400c9c hex color has a decimal value of 4197532.
HEX | 400c9c | #400c9c |
---|---|---|
RGB | 64, 12, 156 | rgb(64, 12, 156) |
RGB Percent | 25.1, 4.71, 61.18 | rgb(25.1, 4.71, 61.18) |
CMYK | 59, 92, 0, 39 | |
HSL | 261.7°, 85.71, 32.9 | hsl(261.7, 85.71%, 32.9%) |
HSV | 261.7°, 92.3, 61.2 |
XYZ | 8.247, 3.753, 31.742 |
---|---|
Hunter Lab | 19.373, 42.086, -83.585 |
CIE-LAB | 22.837, 53.952, -65.652 |
CIE-LCH | 22.837, 84.976, 309.413 |
CIE-LUV | 58.97, 92.31, 0, 38.82 |
Web Safe | 330099 |
RGB percent of color #400c9c
CMYK percent of color #400c9c
Text with hexadecimal color #400c9c
This text has a font color of #400c9c
<p style="color:#400c9c">Text here</p>
#400c9c Background Color
This box has a background color of #400c9c
<div style="background-color:#400c9c">Text here</div>
#400c9c Border Color
This box has a border color of #400c9c
<div style="border: 4px solid #400c9c">Text here</div>
CSS codes
<p style="color:#400c9c">Text here</p>
<div style="background-color:#400c9c">Text here</div>
<div style="border: 4px solid #400c9c">Text here</div>
#400c9c Color on white background
This is how a font and box color of #400c9c will look
on a white background.
#400c9c Color on black background
This is how a font and box color of #400c9c hex color will look
on a black background.