In RGB color space, #2a158c hex color has a red value of 42, a green value of 21 and a blue value of 140.
In CMYK color space (used in color printing), #2a158c hex color is composed of 70% cyan, 85% magenta, 0% yellow and 45.1% black.
#2a158c color has a hue of 250.6 degrees, a saturation of 73.91% and a lightness of 31.6%.
#2a158c hex color contains mainly BLUE.
The closest web safe color of #2a158c is #330099
#2a158c hex color has a decimal value of 2758028.
HEX | 2a158c | #2a158c |
---|---|---|
RGB | 42, 21, 140 | rgb(42, 21, 140) |
RGB Percent | 16.47, 8.24, 54.9 | rgb(16.47, 8.24, 54.9) |
CMYK | 70, 85, 0, 45 | |
HSL | 250.6°, 73.91, 31.6 | hsl(250.6, 73.91%, 31.6%) |
HSV | 250.6°, 85, 54.9 |
XYZ | 5.957, 2.922, 25.061 |
---|---|
Hunter Lab | 17.094, 32.291, -74.958 |
CIE-LAB | 19.729, 44.606, -60.966 |
CIE-LCH | 19.729, 75.542, 306.191 |
CIE-LUV | 70, 85, 0, 45.1 |
Web Safe | 330099 |
RGB percent of color #2a158c
CMYK percent of color #2a158c
Text with hexadecimal color #2a158c
This text has a font color of #2a158c
<p style="color:#2a158c">Text here</p>
#2a158c Background Color
This box has a background color of #2a158c
<div style="background-color:#2a158c">Text here</div>
#2a158c Border Color
This box has a border color of #2a158c
<div style="border: 4px solid #2a158c">Text here</div>
CSS codes
<p style="color:#2a158c">Text here</p>
<div style="background-color:#2a158c">Text here</div>
<div style="border: 4px solid #2a158c">Text here</div>
#2a158c Color on white background
This is how a font and box color of #2a158c will look
on a white background.
#2a158c Color on black background
This is how a font and box color of #2a158c hex color will look
on a black background.