In RGB color space, #2a1b6c hex color has a red value of 42, a green value of 27 and a blue value of 108.
In CMYK color space (used in color printing), #2a1b6c hex color is composed of 61.11% cyan, 75% magenta, 0% yellow and 57.65% black.
#2a1b6c color has a hue of 251.1 degrees, a saturation of 60% and a lightness of 26.5%.
#2a1b6c hex color contains mainly BLUE.
The closest web safe color of #2a1b6c is #333366
#2a1b6c hex color has a decimal value of 2759532.
HEX | 2a1b6c | #2a1b6c |
---|---|---|
RGB | 42, 27, 108 | rgb(42, 27, 108) |
RGB Percent | 16.47, 10.59, 42.35 | rgb(16.47, 10.59, 42.35) |
CMYK | 61, 75, 0, 58 | |
HSL | 251.1°, 60, 26.5 | hsl(251.1, 60%, 26.5%) |
HSV | 251.1°, 75, 42.4 |
XYZ | 4.054, 2.359, 14.429 |
---|---|
Hunter Lab | 15.359, 20.237, -44.948 |
CIE-LAB | 17.269, 31.298, -44.606 |
CIE-LCH | 17.269, 54.491, 305.056 |
CIE-LUV | 61.11, 75, 0, 57.65 |
Web Safe | 333366 |
RGB percent of color #2a1b6c
CMYK percent of color #2a1b6c
Text with hexadecimal color #2a1b6c
This text has a font color of #2a1b6c
<p style="color:#2a1b6c">Text here</p>
#2a1b6c Background Color
This box has a background color of #2a1b6c
<div style="background-color:#2a1b6c">Text here</div>
#2a1b6c Border Color
This box has a border color of #2a1b6c
<div style="border: 4px solid #2a1b6c">Text here</div>
CSS codes
<p style="color:#2a1b6c">Text here</p>
<div style="background-color:#2a1b6c">Text here</div>
<div style="border: 4px solid #2a1b6c">Text here</div>
#2a1b6c Color on white background
This is how a font and box color of #2a1b6c will look
on a white background.
#2a1b6c Color on black background
This is how a font and box color of #2a1b6c hex color will look
on a black background.