In RGB color space, #400c7c hex color has a red value of 64, a green value of 12 and a blue value of 124.
In CMYK color space (used in color printing), #400c7c hex color is composed of 48.39% cyan, 90.32% magenta, 0% yellow and 51.37% black.
#400c7c color has a hue of 267.9 degrees, a saturation of 82.35% and a lightness of 26.7%.
#400c7c hex color contains mainly BLUE.
The closest web safe color of #400c7c is #330066
#400c7c hex color has a decimal value of 4197500.
HEX | 400c7c | #400c7c |
---|---|---|
RGB | 64, 12, 124 | rgb(64, 12, 124) |
RGB Percent | 25.1, 4.71, 48.63 | rgb(25.1, 4.71, 48.63) |
CMYK | 48, 90, 0, 51 | |
HSL | 267.9°, 82.35, 26.7 | hsl(267.9, 82.35%, 26.7%) |
HSV | 267.9°, 90.3, 48.6 |
XYZ | 5.884, 2.808, 19.301 |
---|---|
Hunter Lab | 16.757, 33.353, -56.561 |
CIE-LAB | 19.258, 45.821, -51.56 |
CIE-LCH | 19.258, 68.978, 311.627 |
CIE-LUV | 48.39, 90.32, 0, 51.37 |
Web Safe | 330066 |
RGB percent of color #400c7c
CMYK percent of color #400c7c
Text with hexadecimal color #400c7c
This text has a font color of #400c7c
<p style="color:#400c7c">Text here</p>
#400c7c Background Color
This box has a background color of #400c7c
<div style="background-color:#400c7c">Text here</div>
#400c7c Border Color
This box has a border color of #400c7c
<div style="border: 4px solid #400c7c">Text here</div>
CSS codes
<p style="color:#400c7c">Text here</p>
<div style="background-color:#400c7c">Text here</div>
<div style="border: 4px solid #400c7c">Text here</div>
#400c7c Color on white background
This is how a font and box color of #400c7c will look
on a white background.
#400c7c Color on black background
This is how a font and box color of #400c7c hex color will look
on a black background.