In RGB color space, #2a1851 hex color has a red value of 42, a green value of 24 and a blue value of 81.
In CMYK color space (used in color printing), #2a1851 hex color is composed of 48.15% cyan, 70.37% magenta, 0% yellow and 68.24% black.
#2a1851 color has a hue of 258.9 degrees, a saturation of 54.29% and a lightness of 20.6%.
#2a1851 hex color contains mainly BLUE.
The closest web safe color of #2a1851 is #330066
#2a1851 hex color has a decimal value of 2758737.
HEX | 2a1851 | #2a1851 |
---|---|---|
RGB | 42, 24, 81 | rgb(42, 24, 81) |
RGB Percent | 16.47, 9.41, 31.76 | rgb(16.47, 9.41, 31.76) |
CMYK | 48, 70, 0, 68 | |
HSL | 258.9°, 54.29, 20.6 | hsl(258.9, 54.29%, 20.6%) |
HSV | 258.9°, 70.4, 31.8 |
XYZ | 2.767, 1.74, 7.975 |
---|---|
Hunter Lab | 13.191, 14.359, -26.612 |
CIE-LAB | 14.059, 24.249, -31.854 |
CIE-LCH | 14.059, 40.034, 307.28 |
CIE-LUV | 48.15, 70.37, 0, 68.24 |
Web Safe | 330066 |
RGB percent of color #2a1851
CMYK percent of color #2a1851
Text with hexadecimal color #2a1851
This text has a font color of #2a1851
<p style="color:#2a1851">Text here</p>
#2a1851 Background Color
This box has a background color of #2a1851
<div style="background-color:#2a1851">Text here</div>
#2a1851 Border Color
This box has a border color of #2a1851
<div style="border: 4px solid #2a1851">Text here</div>
CSS codes
<p style="color:#2a1851">Text here</p>
<div style="background-color:#2a1851">Text here</div>
<div style="border: 4px solid #2a1851">Text here</div>
#2a1851 Color on white background
This is how a font and box color of #2a1851 will look
on a white background.
#2a1851 Color on black background
This is how a font and box color of #2a1851 hex color will look
on a black background.