In RGB color space, #2a1f4c hex color has a red value of 42, a green value of 31 and a blue value of 76.
In CMYK color space (used in color printing), #2a1f4c hex color is composed of 44.74% cyan, 59.21% magenta, 0% yellow and 70.2% black.
#2a1f4c color has a hue of 254.7 degrees, a saturation of 42.06% and a lightness of 21%.
#2a1f4c hex color contains mainly BLUE.
The closest web safe color of #2a1f4c is #333333
#2a1f4c hex color has a decimal value of 2760524.
HEX | 2a1f4c | #2a1f4c |
---|---|---|
RGB | 42, 31, 76 | rgb(42, 31, 76) |
RGB Percent | 16.47, 12.16, 29.8 | rgb(16.47, 12.16, 29.8) |
CMYK | 45, 59, 0, 70 | |
HSL | 254.7°, 42.06, 21 | hsl(254.7, 42.06%, 21%) |
HSV | 254.7°, 59.2, 29.8 |
XYZ | 2.749, 1.994, 7.077 |
---|---|
Hunter Lab | 14.121, 10.038, -19.83 |
CIE-LAB | 15.456, 17.894, -26.179 |
CIE-LCH | 15.456, 31.71, 304.354 |
CIE-LUV | 44.74, 59.21, 0, 70.2 |
Web Safe | 333333 |
RGB percent of color #2a1f4c
CMYK percent of color #2a1f4c
Text with hexadecimal color #2a1f4c
This text has a font color of #2a1f4c
<p style="color:#2a1f4c">Text here</p>
#2a1f4c Background Color
This box has a background color of #2a1f4c
<div style="background-color:#2a1f4c">Text here</div>
#2a1f4c Border Color
This box has a border color of #2a1f4c
<div style="border: 4px solid #2a1f4c">Text here</div>
CSS codes
<p style="color:#2a1f4c">Text here</p>
<div style="background-color:#2a1f4c">Text here</div>
<div style="border: 4px solid #2a1f4c">Text here</div>
#2a1f4c Color on white background
This is how a font and box color of #2a1f4c will look
on a white background.
#2a1f4c Color on black background
This is how a font and box color of #2a1f4c hex color will look
on a black background.