In RGB color space, #40172c hex color has a red value of 64, a green value of 23 and a blue value of 44.
In CMYK color space (used in color printing), #40172c hex color is composed of 0% cyan, 64.06% magenta, 31.25% yellow and 74.9% black.
#40172c color has a hue of 329.3 degrees, a saturation of 47.13% and a lightness of 17.1%.
#40172c hex color contains mainly RED.
The closest web safe color of #40172c is #330033
#40172c hex color has a decimal value of 4200236.
HEX | 40172c | #40172c |
---|---|---|
RGB | 64, 23, 44 | rgb(64, 23, 44) |
RGB Percent | 25.1, 9.02, 17.25 | rgb(25.1, 9.02, 17.25) |
CMYK | 0, 64, 31, 75 | |
HSL | 329.3°, 47.13, 17.1 | hsl(329.3, 47.13%, 17.1%) |
HSV | 329.3°, 64.1, 25.1 |
XYZ | 2.875, 1.885, 2.595 |
---|---|
Hunter Lab | 13.73, 13.352, -1.596 |
CIE-LAB | 14.872, 22.721, -4.329 |
CIE-LCH | 14.872, 23.13, 349.213 |
CIE-LUV | 0, 64.06, 31.25, 74.9 |
Web Safe | 330033 |
RGB percent of color #40172c
CMYK percent of color #40172c
Text with hexadecimal color #40172c
This text has a font color of #40172c
<p style="color:#40172c">Text here</p>
#40172c Background Color
This box has a background color of #40172c
<div style="background-color:#40172c">Text here</div>
#40172c Border Color
This box has a border color of #40172c
<div style="border: 4px solid #40172c">Text here</div>
CSS codes
<p style="color:#40172c">Text here</p>
<div style="background-color:#40172c">Text here</div>
<div style="border: 4px solid #40172c">Text here</div>
#40172c Color on white background
This is how a font and box color of #40172c will look
on a white background.
#40172c Color on black background
This is how a font and box color of #40172c hex color will look
on a black background.