In RGB color space, #40021f hex color has a red value of 64, a green value of 2 and a blue value of 31.
In CMYK color space (used in color printing), #40021f hex color is composed of 0% cyan, 96.88% magenta, 51.56% yellow and 74.9% black.
#40021f color has a hue of 331.9 degrees, a saturation of 93.94% and a lightness of 12.9%.
#40021f hex color contains mainly RED.
The closest web safe color of #40021f is #330033
#40021f hex color has a decimal value of 4194847.
HEX | 40021f | #40021f |
---|---|---|
RGB | 64, 2, 31 | rgb(64, 2, 31) |
RGB Percent | 25.1, 0.78, 12.16 | rgb(25.1, 0.78, 12.16) |
CMYK | 0, 97, 52, 75 | |
HSL | 331.9°, 93.94, 12.9 | hsl(331.9, 93.94%, 12.9%) |
HSV | 331.9°, 96.9, 25.1 |
XYZ | 2.383, 1.232, 1.409 |
---|---|
Hunter Lab | 11.1, 18.899, 0.243 |
CIE-LAB | 10.791, 30.861, -0.763 |
CIE-LCH | 10.791, 30.87, 358.584 |
CIE-LUV | 0, 96.88, 51.56, 74.9 |
Web Safe | 330033 |
RGB percent of color #40021f
CMYK percent of color #40021f
Text with hexadecimal color #40021f
This text has a font color of #40021f
<p style="color:#40021f">Text here</p>
#40021f Background Color
This box has a background color of #40021f
<div style="background-color:#40021f">Text here</div>
#40021f Border Color
This box has a border color of #40021f
<div style="border: 4px solid #40021f">Text here</div>
CSS codes
<p style="color:#40021f">Text here</p>
<div style="background-color:#40021f">Text here</div>
<div style="border: 4px solid #40021f">Text here</div>
#40021f Color on white background
This is how a font and box color of #40021f will look
on a white background.
#40021f Color on black background
This is how a font and box color of #40021f hex color will look
on a black background.