In RGB color space, #2a1987 hex color has a red value of 42, a green value of 25 and a blue value of 135.
In CMYK color space (used in color printing), #2a1987 hex color is composed of 68.89% cyan, 81.48% magenta, 0% yellow and 47.06% black.
#2a1987 color has a hue of 249.3 degrees, a saturation of 68.75% and a lightness of 31.4%.
#2a1987 hex color contains mainly BLUE.
The closest web safe color of #2a1987 is #330099
#2a1987 hex color has a decimal value of 2759047.
HEX | 2a1987 | #2a1987 |
---|---|---|
RGB | 42, 25, 135 | rgb(42, 25, 135) |
RGB Percent | 16.47, 9.8, 52.94 | rgb(16.47, 9.8, 52.94) |
CMYK | 69, 81, 0, 47 | |
HSL | 249.3°, 68.75, 31.4 | hsl(249.3, 68.75%, 31.4%) |
HSV | 249.3°, 81.5, 52.9 |
XYZ | 5.676, 2.937, 23.189 |
---|---|
Hunter Lab | 17.138, 29.128, -68.229 |
CIE-LAB | 19.79, 41.17, -57.73 |
CIE-LCH | 19.79, 70.906, 305.494 |
CIE-LUV | 68.89, 81.48, 0, 47.06 |
Web Safe | 330099 |
RGB percent of color #2a1987
CMYK percent of color #2a1987
Text with hexadecimal color #2a1987
This text has a font color of #2a1987
<p style="color:#2a1987">Text here</p>
#2a1987 Background Color
This box has a background color of #2a1987
<div style="background-color:#2a1987">Text here</div>
#2a1987 Border Color
This box has a border color of #2a1987
<div style="border: 4px solid #2a1987">Text here</div>
CSS codes
<p style="color:#2a1987">Text here</p>
<div style="background-color:#2a1987">Text here</div>
<div style="border: 4px solid #2a1987">Text here</div>
#2a1987 Color on white background
This is how a font and box color of #2a1987 will look
on a white background.
#2a1987 Color on black background
This is how a font and box color of #2a1987 hex color will look
on a black background.