In RGB color space, #2a1fa0 hex color has a red value of 42, a green value of 31 and a blue value of 160.
In CMYK color space (used in color printing), #2a1fa0 hex color is composed of 73.75% cyan, 80.63% magenta, 0% yellow and 37.25% black.
#2a1fa0 color has a hue of 245.1 degrees, a saturation of 67.54% and a lightness of 37.5%.
#2a1fa0 hex color contains mainly BLUE.
The closest web safe color of #2a1fa0 is #333399
#2a1fa0 hex color has a decimal value of 2760608.
HEX | 2a1fa0 | #2a1fa0 |
---|---|---|
RGB | 42, 31, 160 | rgb(42, 31, 160) |
RGB Percent | 16.47, 12.16, 62.75 | rgb(16.47, 12.16, 62.75) |
CMYK | 74, 81, 0, 37 | |
HSL | 245.1°, 67.54, 37.5 | hsl(245.1, 67.54%, 37.5%) |
HSV | 245.1°, 80.6, 62.7 |
XYZ | 7.79, 4.01, 33.621 |
---|---|
Hunter Lab | 20.025, 34.395, -85.528 |
CIE-LAB | 23.704, 46.048, -66.724 |
CIE-LCH | 23.704, 81.071, 304.611 |
CIE-LUV | 73.75, 80.63, 0, 37.25 |
Web Safe | 333399 |
RGB percent of color #2a1fa0
CMYK percent of color #2a1fa0
Text with hexadecimal color #2a1fa0
This text has a font color of #2a1fa0
<p style="color:#2a1fa0">Text here</p>
#2a1fa0 Background Color
This box has a background color of #2a1fa0
<div style="background-color:#2a1fa0">Text here</div>
#2a1fa0 Border Color
This box has a border color of #2a1fa0
<div style="border: 4px solid #2a1fa0">Text here</div>
CSS codes
<p style="color:#2a1fa0">Text here</p>
<div style="background-color:#2a1fa0">Text here</div>
<div style="border: 4px solid #2a1fa0">Text here</div>
#2a1fa0 Color on white background
This is how a font and box color of #2a1fa0 will look
on a white background.
#2a1fa0 Color on black background
This is how a font and box color of #2a1fa0 hex color will look
on a black background.