In RGB color space, #2a0c9e hex color has a red value of 42, a green value of 12 and a blue value of 158.
In CMYK color space (used in color printing), #2a0c9e hex color is composed of 73.42% cyan, 92.41% magenta, 0% yellow and 38.04% black.
#2a0c9e color has a hue of 252.3 degrees, a saturation of 85.88% and a lightness of 33.3%.
#2a0c9e hex color contains mainly BLUE.
The closest web safe color of #2a0c9e is #330099
#2a0c9e hex color has a decimal value of 2755742.
HEX | 2a0c9e | #2a0c9e |
---|---|---|
RGB | 42, 12, 158 | rgb(42, 12, 158) |
RGB Percent | 16.47, 4.71, 61.96 | rgb(16.47, 4.71, 61.96) |
CMYK | 73, 92, 0, 38 | |
HSL | 252.3°, 85.88, 33.3 | hsl(252.3, 85.88%, 33.3%) |
HSV | 252.3°, 92.4, 62 |
XYZ | 7.258, 3.224, 32.587 |
---|---|
Hunter Lab | 17.956, 40.731, -95.035 |
CIE-LAB | 20.92, 52.991, -70.126 |
CIE-LCH | 20.92, 87.896, 307.077 |
CIE-LUV | 73.42, 92.41, 0, 38.04 |
Web Safe | 330099 |
RGB percent of color #2a0c9e
CMYK percent of color #2a0c9e
Text with hexadecimal color #2a0c9e
This text has a font color of #2a0c9e
<p style="color:#2a0c9e">Text here</p>
#2a0c9e Background Color
This box has a background color of #2a0c9e
<div style="background-color:#2a0c9e">Text here</div>
#2a0c9e Border Color
This box has a border color of #2a0c9e
<div style="border: 4px solid #2a0c9e">Text here</div>
CSS codes
<p style="color:#2a0c9e">Text here</p>
<div style="background-color:#2a0c9e">Text here</div>
<div style="border: 4px solid #2a0c9e">Text here</div>
#2a0c9e Color on white background
This is how a font and box color of #2a0c9e will look
on a white background.
#2a0c9e Color on black background
This is how a font and box color of #2a0c9e hex color will look
on a black background.