In RGB color space, #2a171f hex color has a red value of 42, a green value of 23 and a blue value of 31.
In CMYK color space (used in color printing), #2a171f hex color is composed of 0% cyan, 45.24% magenta, 26.19% yellow and 83.53% black.
#2a171f color has a hue of 334.7 degrees, a saturation of 29.23% and a lightness of 12.7%.
#2a171f hex color contains mainly RED.
The closest web safe color of #2a171f is #330033
#2a171f hex color has a decimal value of 2758431.
HEX | 2a171f | #2a171f |
---|---|---|
RGB | 42, 23, 31 | rgb(42, 23, 31) |
RGB Percent | 16.47, 9.02, 12.16 | rgb(16.47, 9.02, 12.16) |
CMYK | 0, 45, 26, 84 | |
HSL | 334.7°, 29.23, 12.7 | hsl(334.7, 29.23%, 12.7%) |
HSV | 334.7°, 45.2, 16.5 |
XYZ | 1.509, 1.204, 1.449 |
---|---|
Hunter Lab | 10.973, 5.346, -0.149 |
CIE-LAB | 10.587, 11.068, -1.556 |
CIE-LCH | 10.587, 11.177, 351.997 |
CIE-LUV | 0, 45.24, 26.19, 83.53 |
Web Safe | 330033 |
RGB percent of color #2a171f
CMYK percent of color #2a171f
Text with hexadecimal color #2a171f
This text has a font color of #2a171f
<p style="color:#2a171f">Text here</p>
#2a171f Background Color
This box has a background color of #2a171f
<div style="background-color:#2a171f">Text here</div>
#2a171f Border Color
This box has a border color of #2a171f
<div style="border: 4px solid #2a171f">Text here</div>
CSS codes
<p style="color:#2a171f">Text here</p>
<div style="background-color:#2a171f">Text here</div>
<div style="border: 4px solid #2a171f">Text here</div>
#2a171f Color on white background
This is how a font and box color of #2a171f will look
on a white background.
#2a171f Color on black background
This is how a font and box color of #2a171f hex color will look
on a black background.