In RGB color space, #2a1f3b hex color has a red value of 42, a green value of 31 and a blue value of 59.
In CMYK color space (used in color printing), #2a1f3b hex color is composed of 28.81% cyan, 47.46% magenta, 0% yellow and 76.86% black.
#2a1f3b color has a hue of 263.6 degrees, a saturation of 31.11% and a lightness of 17.6%.
#2a1f3b hex color contains mainly BLUE.
The closest web safe color of #2a1f3b is #333333
#2a1f3b hex color has a decimal value of 2760507.
HEX | 2a1f3b | #2a1f3b |
---|---|---|
RGB | 42, 31, 59 | rgb(42, 31, 59) |
RGB Percent | 16.47, 12.16, 23.14 | rgb(16.47, 12.16, 23.14) |
CMYK | 29, 47, 0, 77 | |
HSL | 263.6°, 31.11, 17.6 | hsl(263.6, 31.11%, 17.6%) |
HSV | 263.6°, 47.5, 23.1 |
XYZ | 2.234, 1.788, 4.365 |
---|---|
Hunter Lab | 13.372, 6.422, -9.994 |
CIE-LAB | 14.333, 12.48, -16.152 |
CIE-LCH | 14.333, 20.412, 307.692 |
CIE-LUV | 28.81, 47.46, 0, 76.86 |
Web Safe | 333333 |
RGB percent of color #2a1f3b
CMYK percent of color #2a1f3b
Text with hexadecimal color #2a1f3b
This text has a font color of #2a1f3b
<p style="color:#2a1f3b">Text here</p>
#2a1f3b Background Color
This box has a background color of #2a1f3b
<div style="background-color:#2a1f3b">Text here</div>
#2a1f3b Border Color
This box has a border color of #2a1f3b
<div style="border: 4px solid #2a1f3b">Text here</div>
CSS codes
<p style="color:#2a1f3b">Text here</p>
<div style="background-color:#2a1f3b">Text here</div>
<div style="border: 4px solid #2a1f3b">Text here</div>
#2a1f3b Color on white background
This is how a font and box color of #2a1f3b will look
on a white background.
#2a1f3b Color on black background
This is how a font and box color of #2a1f3b hex color will look
on a black background.