In RGB color space, #2a1b9c hex color has a red value of 42, a green value of 27 and a blue value of 156.
In CMYK color space (used in color printing), #2a1b9c hex color is composed of 73.08% cyan, 82.69% magenta, 0% yellow and 38.82% black.
#2a1b9c color has a hue of 247 degrees, a saturation of 70.49% and a lightness of 35.9%.
#2a1b9c hex color contains mainly BLUE.
The closest web safe color of #2a1b9c is #333399
#2a1b9c hex color has a decimal value of 2759580.
HEX | 2a1b9c | #2a1b9c |
---|---|---|
RGB | 42, 27, 156 | rgb(42, 27, 156) |
RGB Percent | 16.47, 10.59, 61.18 | rgb(16.47, 10.59, 61.18) |
CMYK | 73, 83, 0, 39 | |
HSL | 247°, 70.49, 35.9 | hsl(247, 70.49%, 35.9%) |
HSV | 247°, 82.7, 61.2 |
XYZ | 7.348, 3.676, 31.775 |
---|---|
Hunter Lab | 19.173, 34.857, -84.84 |
CIE-LAB | 22.57, 46.75, -66.16 |
CIE-LCH | 22.57, 81.011, 305.246 |
CIE-LUV | 73.08, 82.69, 0, 38.82 |
Web Safe | 333399 |
RGB percent of color #2a1b9c
CMYK percent of color #2a1b9c
Text with hexadecimal color #2a1b9c
This text has a font color of #2a1b9c
<p style="color:#2a1b9c">Text here</p>
#2a1b9c Background Color
This box has a background color of #2a1b9c
<div style="background-color:#2a1b9c">Text here</div>
#2a1b9c Border Color
This box has a border color of #2a1b9c
<div style="border: 4px solid #2a1b9c">Text here</div>
CSS codes
<p style="color:#2a1b9c">Text here</p>
<div style="background-color:#2a1b9c">Text here</div>
<div style="border: 4px solid #2a1b9c">Text here</div>
#2a1b9c Color on white background
This is how a font and box color of #2a1b9c will look
on a white background.
#2a1b9c Color on black background
This is how a font and box color of #2a1b9c hex color will look
on a black background.