In RGB color space, #2a1787 hex color has a red value of 42, a green value of 23 and a blue value of 135.
In CMYK color space (used in color printing), #2a1787 hex color is composed of 68.89% cyan, 82.96% magenta, 0% yellow and 47.06% black.
#2a1787 color has a hue of 250.2 degrees, a saturation of 70.89% and a lightness of 31%.
#2a1787 hex color contains mainly BLUE.
The closest web safe color of #2a1787 is #330099
#2a1787 hex color has a decimal value of 2758535.
HEX | 2a1787 | #2a1787 |
---|---|---|
RGB | 42, 23, 135 | rgb(42, 23, 135) |
RGB Percent | 16.47, 9.02, 52.94 | rgb(16.47, 9.02, 52.94) |
CMYK | 69, 83, 0, 47 | |
HSL | 250.2°, 70.89, 31 | hsl(250.2, 70.89%, 31%) |
HSV | 250.2°, 83, 52.9 |
XYZ | 5.634, 2.854, 23.176 |
---|---|
Hunter Lab | 16.894, 29.965, -69.512 |
CIE-LAB | 19.449, 42.154, -58.295 |
CIE-LCH | 19.449, 71.939, 305.871 |
CIE-LUV | 68.89, 82.96, 0, 47.06 |
Web Safe | 330099 |
RGB percent of color #2a1787
CMYK percent of color #2a1787
Text with hexadecimal color #2a1787
This text has a font color of #2a1787
<p style="color:#2a1787">Text here</p>
#2a1787 Background Color
This box has a background color of #2a1787
<div style="background-color:#2a1787">Text here</div>
#2a1787 Border Color
This box has a border color of #2a1787
<div style="border: 4px solid #2a1787">Text here</div>
CSS codes
<p style="color:#2a1787">Text here</p>
<div style="background-color:#2a1787">Text here</div>
<div style="border: 4px solid #2a1787">Text here</div>
#2a1787 Color on white background
This is how a font and box color of #2a1787 will look
on a white background.
#2a1787 Color on black background
This is how a font and box color of #2a1787 hex color will look
on a black background.