In RGB color space, #400c7d hex color has a red value of 64, a green value of 12 and a blue value of 125.
In CMYK color space (used in color printing), #400c7d hex color is composed of 48.8% cyan, 90.4% magenta, 0% yellow and 50.98% black.
#400c7d color has a hue of 267.6 degrees, a saturation of 82.48% and a lightness of 26.9%.
#400c7d hex color contains mainly BLUE.
The closest web safe color of #400c7d is #330066
#400c7d hex color has a decimal value of 4197501.
HEX | 400c7d | #400c7d |
---|---|---|
RGB | 64, 12, 125 | rgb(64, 12, 125) |
RGB Percent | 25.1, 4.71, 49.02 | rgb(25.1, 4.71, 49.02) |
CMYK | 49, 90, 0, 51 | |
HSL | 267.6°, 82.48, 26.9 | hsl(267.6, 82.48%, 26.9%) |
HSV | 267.6°, 90.4, 49 |
XYZ | 5.947, 2.834, 19.636 |
---|---|
Hunter Lab | 16.834, 33.597, -57.373 |
CIE-LAB | 19.366, 46.057, -52.019 |
CIE-LCH | 19.366, 69.478, 311.521 |
CIE-LUV | 48.8, 90.4, 0, 50.98 |
Web Safe | 330066 |
RGB percent of color #400c7d
CMYK percent of color #400c7d
Text with hexadecimal color #400c7d
This text has a font color of #400c7d
<p style="color:#400c7d">Text here</p>
#400c7d Background Color
This box has a background color of #400c7d
<div style="background-color:#400c7d">Text here</div>
#400c7d Border Color
This box has a border color of #400c7d
<div style="border: 4px solid #400c7d">Text here</div>
CSS codes
<p style="color:#400c7d">Text here</p>
<div style="background-color:#400c7d">Text here</div>
<div style="border: 4px solid #400c7d">Text here</div>
#400c7d Color on white background
This is how a font and box color of #400c7d will look
on a white background.
#400c7d Color on black background
This is how a font and box color of #400c7d hex color will look
on a black background.