In RGB color space, #400c8f hex color has a red value of 64, a green value of 12 and a blue value of 143.
In CMYK color space (used in color printing), #400c8f hex color is composed of 55.24% cyan, 91.61% magenta, 0% yellow and 43.92% black.
#400c8f color has a hue of 263.8 degrees, a saturation of 84.52% and a lightness of 30.4%.
#400c8f hex color contains mainly BLUE.
The closest web safe color of #400c8f is #330099
#400c8f hex color has a decimal value of 4197519.
HEX | 400c8f | #400c8f |
---|---|---|
RGB | 64, 12, 143 | rgb(64, 12, 143) |
RGB Percent | 25.1, 4.71, 56.08 | rgb(25.1, 4.71, 56.08) |
CMYK | 55, 92, 0, 44 | |
HSL | 263.8°, 84.52, 30.4 | hsl(263.8, 84.52%, 30.4%) |
HSV | 263.8°, 91.6, 56.1 |
XYZ | 7.204, 3.336, 26.251 |
---|---|
Hunter Lab | 18.265, 38.441, -72.429 |
CIE-LAB | 21.342, 50.642, -60.095 |
CIE-LCH | 21.342, 78.588, 310.121 |
CIE-LUV | 55.24, 91.61, 0, 43.92 |
Web Safe | 330099 |
RGB percent of color #400c8f
CMYK percent of color #400c8f
Text with hexadecimal color #400c8f
This text has a font color of #400c8f
<p style="color:#400c8f">Text here</p>
#400c8f Background Color
This box has a background color of #400c8f
<div style="background-color:#400c8f">Text here</div>
#400c8f Border Color
This box has a border color of #400c8f
<div style="border: 4px solid #400c8f">Text here</div>
CSS codes
<p style="color:#400c8f">Text here</p>
<div style="background-color:#400c8f">Text here</div>
<div style="border: 4px solid #400c8f">Text here</div>
#400c8f Color on white background
This is how a font and box color of #400c8f will look
on a white background.
#400c8f Color on black background
This is how a font and box color of #400c8f hex color will look
on a black background.