In RGB color space, #2a1b30 hex color has a red value of 42, a green value of 27 and a blue value of 48.
In CMYK color space (used in color printing), #2a1b30 hex color is composed of 12.5% cyan, 43.75% magenta, 0% yellow and 81.18% black.
#2a1b30 color has a hue of 282.9 degrees, a saturation of 28% and a lightness of 14.7%.
#2a1b30 hex color contains mainly BLUE.
The closest web safe color of #2a1b30 is #333333
#2a1b30 hex color has a decimal value of 2759472.
HEX | 2a1b30 | #2a1b30 |
---|---|---|
RGB | 42, 27, 48 | rgb(42, 27, 48) |
RGB Percent | 16.47, 10.59, 18.82 | rgb(16.47, 10.59, 18.82) |
CMYK | 13, 44, 0, 81 | |
HSL | 282.9°, 28, 14.7 | hsl(282.9, 28%, 14.7%) |
HSV | 282.9°, 43.8, 18.8 |
XYZ | 1.88, 1.49, 2.985 |
---|---|
Hunter Lab | 12.207, 6.13, -5.954 |
CIE-LAB | 12.544, 12.185, -11.091 |
CIE-LCH | 12.544, 16.477, 317.691 |
CIE-LUV | 12.5, 43.75, 0, 81.18 |
Web Safe | 333333 |
RGB percent of color #2a1b30
CMYK percent of color #2a1b30
Text with hexadecimal color #2a1b30
This text has a font color of #2a1b30
<p style="color:#2a1b30">Text here</p>
#2a1b30 Background Color
This box has a background color of #2a1b30
<div style="background-color:#2a1b30">Text here</div>
#2a1b30 Border Color
This box has a border color of #2a1b30
<div style="border: 4px solid #2a1b30">Text here</div>
CSS codes
<p style="color:#2a1b30">Text here</p>
<div style="background-color:#2a1b30">Text here</div>
<div style="border: 4px solid #2a1b30">Text here</div>
#2a1b30 Color on white background
This is how a font and box color of #2a1b30 will look
on a white background.
#2a1b30 Color on black background
This is how a font and box color of #2a1b30 hex color will look
on a black background.