In RGB color space, #2a1f2a hex color has a red value of 42, a green value of 31 and a blue value of 42.
In CMYK color space (used in color printing), #2a1f2a hex color is composed of 0% cyan, 26.19% magenta, 0% yellow and 83.53% black.
#2a1f2a color has a hue of 300 degrees, a saturation of 15.07% and a lightness of 14.3%.
#2a1f2a hex color contains mainly RED.
The closest web safe color of #2a1f2a is #333333
#2a1f2a hex color has a decimal value of 2760490.
HEX | 2a1f2a | #2a1f2a |
---|---|---|
RGB | 42, 31, 42 | rgb(42, 31, 42) |
RGB Percent | 16.47, 12.16, 16.47 | rgb(16.47, 12.16, 16.47) |
CMYK | 0, 26, 0, 84 | |
HSL | 300°, 15.07, 14.3 | hsl(300, 15.07%, 14.3%) |
HSV | 300°, 26.2, 16.5 |
XYZ | 1.863, 1.639, 2.409 |
---|---|
Hunter Lab | 12.802, 3.571, -2.195 |
CIE-LAB | 13.466, 7.804, -5.343 |
CIE-LCH | 13.466, 9.458, 325.603 |
CIE-LUV | 0, 26.19, 0, 83.53 |
Web Safe | 333333 |
RGB percent of color #2a1f2a
CMYK percent of color #2a1f2a
Text with hexadecimal color #2a1f2a
This text has a font color of #2a1f2a
<p style="color:#2a1f2a">Text here</p>
#2a1f2a Background Color
This box has a background color of #2a1f2a
<div style="background-color:#2a1f2a">Text here</div>
#2a1f2a Border Color
This box has a border color of #2a1f2a
<div style="border: 4px solid #2a1f2a">Text here</div>
CSS codes
<p style="color:#2a1f2a">Text here</p>
<div style="background-color:#2a1f2a">Text here</div>
<div style="border: 4px solid #2a1f2a">Text here</div>
#2a1f2a Color on white background
This is how a font and box color of #2a1f2a will look
on a white background.
#2a1f2a Color on black background
This is how a font and box color of #2a1f2a hex color will look
on a black background.