In RGB color space, #2a1f31 hex color has a red value of 42, a green value of 31 and a blue value of 49.
In CMYK color space (used in color printing), #2a1f31 hex color is composed of 14.29% cyan, 36.73% magenta, 0% yellow and 80.78% black.
#2a1f31 color has a hue of 276.7 degrees, a saturation of 22.5% and a lightness of 15.7%.
#2a1f31 hex color contains mainly BLUE.
The closest web safe color of #2a1f31 is #333333
#2a1f31 hex color has a decimal value of 2760497.
HEX | 2a1f31 | #2a1f31 |
---|---|---|
RGB | 42, 31, 49 | rgb(42, 31, 49) |
RGB Percent | 16.47, 12.16, 19.22 | rgb(16.47, 12.16, 19.22) |
CMYK | 14, 37, 0, 81 | |
HSL | 276.7°, 22.5, 15.7 | hsl(276.7, 22.5%, 15.7%) |
HSV | 276.7°, 36.7, 19.2 |
XYZ | 1.999, 1.694, 3.127 |
---|---|
Hunter Lab | 13.015, 4.638, -5.134 |
CIE-LAB | 13.792, 9.603, -9.882 |
CIE-LCH | 13.792, 13.779, 314.18 |
CIE-LUV | 14.29, 36.73, 0, 80.78 |
Web Safe | 333333 |
RGB percent of color #2a1f31
CMYK percent of color #2a1f31
Text with hexadecimal color #2a1f31
This text has a font color of #2a1f31
<p style="color:#2a1f31">Text here</p>
#2a1f31 Background Color
This box has a background color of #2a1f31
<div style="background-color:#2a1f31">Text here</div>
#2a1f31 Border Color
This box has a border color of #2a1f31
<div style="border: 4px solid #2a1f31">Text here</div>
CSS codes
<p style="color:#2a1f31">Text here</p>
<div style="background-color:#2a1f31">Text here</div>
<div style="border: 4px solid #2a1f31">Text here</div>
#2a1f31 Color on white background
This is how a font and box color of #2a1f31 will look
on a white background.
#2a1f31 Color on black background
This is how a font and box color of #2a1f31 hex color will look
on a black background.