In RGB color space, #2a1f30 hex color has a red value of 42, a green value of 31 and a blue value of 48.
In CMYK color space (used in color printing), #2a1f30 hex color is composed of 12.5% cyan, 35.42% magenta, 0% yellow and 81.18% black.
#2a1f30 color has a hue of 278.8 degrees, a saturation of 21.52% and a lightness of 15.5%.
#2a1f30 hex color contains mainly BLUE.
The closest web safe color of #2a1f30 is #333333
#2a1f30 hex color has a decimal value of 2760496.
HEX | 2a1f30 | #2a1f30 |
---|---|---|
RGB | 42, 31, 48 | rgb(42, 31, 48) |
RGB Percent | 16.47, 12.16, 18.82 | rgb(16.47, 12.16, 18.82) |
CMYK | 13, 35, 0, 81 | |
HSL | 278.8°, 21.52, 15.5 | hsl(278.8, 21.52%, 15.5%) |
HSV | 278.8°, 35.4, 18.8 |
XYZ | 1.978, 1.686, 3.017 |
---|---|
Hunter Lab | 12.985, 4.469, -4.687 |
CIE-LAB | 13.745, 9.32, -9.236 |
CIE-LCH | 13.745, 13.121, 315.259 |
CIE-LUV | 12.5, 35.42, 0, 81.18 |
Web Safe | 333333 |
RGB percent of color #2a1f30
CMYK percent of color #2a1f30
Text with hexadecimal color #2a1f30
This text has a font color of #2a1f30
<p style="color:#2a1f30">Text here</p>
#2a1f30 Background Color
This box has a background color of #2a1f30
<div style="background-color:#2a1f30">Text here</div>
#2a1f30 Border Color
This box has a border color of #2a1f30
<div style="border: 4px solid #2a1f30">Text here</div>
CSS codes
<p style="color:#2a1f30">Text here</p>
<div style="background-color:#2a1f30">Text here</div>
<div style="border: 4px solid #2a1f30">Text here</div>
#2a1f30 Color on white background
This is how a font and box color of #2a1f30 will look
on a white background.
#2a1f30 Color on black background
This is how a font and box color of #2a1f30 hex color will look
on a black background.