In RGB color space, #2a158d hex color has a red value of 42, a green value of 21 and a blue value of 141.
In CMYK color space (used in color printing), #2a158d hex color is composed of 70.21% cyan, 85.11% magenta, 0% yellow and 44.71% black.
#2a158d color has a hue of 250.5 degrees, a saturation of 74.07% and a lightness of 31.8%.
#2a158d hex color contains mainly BLUE.
The closest web safe color of #2a158d is #330099
#2a158d hex color has a decimal value of 2758029.
HEX | 2a158d | #2a158d |
---|---|---|
RGB | 42, 21, 141 | rgb(42, 21, 141) |
RGB Percent | 16.47, 8.24, 55.29 | rgb(16.47, 8.24, 55.29) |
CMYK | 70, 85, 0, 45 | |
HSL | 250.5°, 74.07, 31.8 | hsl(250.5, 74.07%, 31.8%) |
HSV | 250.5°, 85.1, 55.3 |
XYZ | 6.031, 2.952, 25.451 |
---|---|
Hunter Lab | 17.181, 32.59, -75.8 |
CIE-LAB | 19.851, 44.9, -61.389 |
CIE-LCH | 19.851, 76.057, 306.182 |
CIE-LUV | 70.21, 85.11, 0, 44.71 |
Web Safe | 330099 |
RGB percent of color #2a158d
CMYK percent of color #2a158d
Text with hexadecimal color #2a158d
This text has a font color of #2a158d
<p style="color:#2a158d">Text here</p>
#2a158d Background Color
This box has a background color of #2a158d
<div style="background-color:#2a158d">Text here</div>
#2a158d Border Color
This box has a border color of #2a158d
<div style="border: 4px solid #2a158d">Text here</div>
CSS codes
<p style="color:#2a158d">Text here</p>
<div style="background-color:#2a158d">Text here</div>
<div style="border: 4px solid #2a158d">Text here</div>
#2a158d Color on white background
This is how a font and box color of #2a158d will look
on a white background.
#2a158d Color on black background
This is how a font and box color of #2a158d hex color will look
on a black background.