In RGB color space, #2c158c hex color has a red value of 44, a green value of 21 and a blue value of 140.
In CMYK color space (used in color printing), #2c158c hex color is composed of 68.57% cyan, 85% magenta, 0% yellow and 45.1% black.
#2c158c color has a hue of 251.6 degrees, a saturation of 73.91% and a lightness of 31.6%.
#2c158c hex color contains mainly BLUE.
The closest web safe color of #2c158c is #330099
#2c158c hex color has a decimal value of 2889100.
HEX | 2c158c | #2c158c |
---|---|---|
RGB | 44, 21, 140 | rgb(44, 21, 140) |
RGB Percent | 17.25, 8.24, 54.9 | rgb(17.25, 8.24, 54.9) |
CMYK | 69, 85, 0, 45 | |
HSL | 251.6°, 73.91, 31.6 | hsl(251.6, 73.91%, 31.6%) |
HSV | 251.6°, 85, 54.9 |
XYZ | 6.04, 2.965, 25.065 |
---|---|
Hunter Lab | 17.219, 32.479, -74.252 |
CIE-LAB | 19.903, 44.772, -60.672 |
CIE-LCH | 19.903, 75.403, 306.425 |
CIE-LUV | 68.57, 85, 0, 45.1 |
Web Safe | 330099 |
RGB percent of color #2c158c
CMYK percent of color #2c158c
Text with hexadecimal color #2c158c
This text has a font color of #2c158c
<p style="color:#2c158c">Text here</p>
#2c158c Background Color
This box has a background color of #2c158c
<div style="background-color:#2c158c">Text here</div>
#2c158c Border Color
This box has a border color of #2c158c
<div style="border: 4px solid #2c158c">Text here</div>
CSS codes
<p style="color:#2c158c">Text here</p>
<div style="background-color:#2c158c">Text here</div>
<div style="border: 4px solid #2c158c">Text here</div>
#2c158c Color on white background
This is how a font and box color of #2c158c will look
on a white background.
#2c158c Color on black background
This is how a font and box color of #2c158c hex color will look
on a black background.