In RGB color space, #2a1b2a hex color has a red value of 42, a green value of 27 and a blue value of 42.
In CMYK color space (used in color printing), #2a1b2a hex color is composed of 0% cyan, 35.71% magenta, 0% yellow and 83.53% black.
#2a1b2a color has a hue of 300 degrees, a saturation of 21.74% and a lightness of 13.5%.
#2a1b2a hex color contains mainly RED.
The closest web safe color of #2a1b2a is #333333
#2a1b2a hex color has a decimal value of 2759466.
HEX | 2a1b2a | #2a1b2a |
---|---|---|
RGB | 42, 27, 42 | rgb(42, 27, 42) |
RGB Percent | 16.47, 10.59, 16.47 | rgb(16.47, 10.59, 16.47) |
CMYK | 0, 36, 0, 84 | |
HSL | 300°, 21.74, 13.5 | hsl(300, 21.74%, 13.5%) |
HSV | 300°, 35.7, 16.5 |
XYZ | 1.765, 1.443, 2.376 |
---|---|
Hunter Lab | 12.012, 5.205, -3.318 |
CIE-LAB | 12.241, 10.677, -7.198 |
CIE-LCH | 12.241, 12.877, 326.014 |
CIE-LUV | 0, 35.71, 0, 83.53 |
Web Safe | 333333 |
RGB percent of color #2a1b2a
CMYK percent of color #2a1b2a
Text with hexadecimal color #2a1b2a
This text has a font color of #2a1b2a
<p style="color:#2a1b2a">Text here</p>
#2a1b2a Background Color
This box has a background color of #2a1b2a
<div style="background-color:#2a1b2a">Text here</div>
#2a1b2a Border Color
This box has a border color of #2a1b2a
<div style="border: 4px solid #2a1b2a">Text here</div>
CSS codes
<p style="color:#2a1b2a">Text here</p>
<div style="background-color:#2a1b2a">Text here</div>
<div style="border: 4px solid #2a1b2a">Text here</div>
#2a1b2a Color on white background
This is how a font and box color of #2a1b2a will look
on a white background.
#2a1b2a Color on black background
This is how a font and box color of #2a1b2a hex color will look
on a black background.