In RGB color space, #2a1547 hex color has a red value of 42, a green value of 21 and a blue value of 71.
In CMYK color space (used in color printing), #2a1547 hex color is composed of 40.85% cyan, 70.42% magenta, 0% yellow and 72.16% black.
#2a1547 color has a hue of 265.2 degrees, a saturation of 54.35% and a lightness of 18%.
#2a1547 hex color contains mainly BLUE.
The closest web safe color of #2a1547 is #330033
#2a1547 hex color has a decimal value of 2757959.
HEX | 2a1547 | #2a1547 |
---|---|---|
RGB | 42, 21, 71 | rgb(42, 21, 71) |
RGB Percent | 16.47, 8.24, 27.84 | rgb(16.47, 8.24, 27.84) |
CMYK | 41, 70, 0, 72 | |
HSL | 265.2°, 54.35, 18 | hsl(265.2, 54.35%, 18%) |
HSV | 265.2°, 70.4, 27.8 |
XYZ | 2.36, 1.484, 6.123 |
---|---|
Hunter Lab | 12.182, 13.262, -21.273 |
CIE-LAB | 12.506, 22.998, -27.476 |
CIE-LCH | 12.506, 35.831, 309.93 |
CIE-LUV | 40.85, 70.42, 0, 72.16 |
Web Safe | 330033 |
RGB percent of color #2a1547
CMYK percent of color #2a1547
Text with hexadecimal color #2a1547
This text has a font color of #2a1547
<p style="color:#2a1547">Text here</p>
#2a1547 Background Color
This box has a background color of #2a1547
<div style="background-color:#2a1547">Text here</div>
#2a1547 Border Color
This box has a border color of #2a1547
<div style="border: 4px solid #2a1547">Text here</div>
CSS codes
<p style="color:#2a1547">Text here</p>
<div style="background-color:#2a1547">Text here</div>
<div style="border: 4px solid #2a1547">Text here</div>
#2a1547 Color on white background
This is how a font and box color of #2a1547 will look
on a white background.
#2a1547 Color on black background
This is how a font and box color of #2a1547 hex color will look
on a black background.