In RGB color space, #2a1831 hex color has a red value of 42, a green value of 24 and a blue value of 49.
In CMYK color space (used in color printing), #2a1831 hex color is composed of 14.29% cyan, 51.02% magenta, 0% yellow and 80.78% black.
#2a1831 color has a hue of 283.2 degrees, a saturation of 34.25% and a lightness of 14.3%.
#2a1831 hex color contains mainly BLUE.
The closest web safe color of #2a1831 is #330033
#2a1831 hex color has a decimal value of 2758705.
HEX | 2a1831 | #2a1831 |
---|---|---|
RGB | 42, 24, 49 | rgb(42, 24, 49) |
RGB Percent | 16.47, 9.41, 19.22 | rgb(16.47, 9.41, 19.22) |
CMYK | 14, 51, 0, 81 | |
HSL | 283.2°, 34.25, 14.3 | hsl(283.2, 34.25%, 14.3%) |
HSV | 283.2°, 51, 19.2 |
XYZ | 1.836, 1.367, 3.073 |
---|---|
Hunter Lab | 11.692, 7.569, -7.399 |
CIE-LAB | 11.736, 14.605, -13.071 |
CIE-LCH | 11.736, 19.6, 318.172 |
CIE-LUV | 14.29, 51.02, 0, 80.78 |
Web Safe | 330033 |
RGB percent of color #2a1831
CMYK percent of color #2a1831
Text with hexadecimal color #2a1831
This text has a font color of #2a1831
<p style="color:#2a1831">Text here</p>
#2a1831 Background Color
This box has a background color of #2a1831
<div style="background-color:#2a1831">Text here</div>
#2a1831 Border Color
This box has a border color of #2a1831
<div style="border: 4px solid #2a1831">Text here</div>
CSS codes
<p style="color:#2a1831">Text here</p>
<div style="background-color:#2a1831">Text here</div>
<div style="border: 4px solid #2a1831">Text here</div>
#2a1831 Color on white background
This is how a font and box color of #2a1831 will look
on a white background.
#2a1831 Color on black background
This is how a font and box color of #2a1831 hex color will look
on a black background.