In RGB color space, #2c158a hex color has a red value of 44, a green value of 21 and a blue value of 138.
In CMYK color space (used in color printing), #2c158a hex color is composed of 68.12% cyan, 84.78% magenta, 0% yellow and 45.88% black.
#2c158a color has a hue of 251.8 degrees, a saturation of 73.58% and a lightness of 31.2%.
#2c158a hex color contains mainly BLUE.
The closest web safe color of #2c158a is #330099
#2c158a hex color has a decimal value of 2889098.
HEX | 2c158a | #2c158a |
---|---|---|
RGB | 44, 21, 138 | rgb(44, 21, 138) |
RGB Percent | 17.25, 8.24, 54.12 | rgb(17.25, 8.24, 54.12) |
CMYK | 68, 85, 0, 46 | |
HSL | 251.8°, 73.58, 31.2 | hsl(251.8, 73.58%, 31.2%) |
HSV | 251.8°, 84.8, 54.1 |
XYZ | 5.894, 2.907, 24.295 |
---|---|
Hunter Lab | 17.05, 31.868, -72.549 |
CIE-LAB | 19.668, 44.167, -59.81 |
CIE-LCH | 19.668, 74.35, 306.444 |
CIE-LUV | 68.12, 84.78, 0, 45.88 |
Web Safe | 330099 |
RGB percent of color #2c158a
CMYK percent of color #2c158a
Text with hexadecimal color #2c158a
This text has a font color of #2c158a
<p style="color:#2c158a">Text here</p>
#2c158a Background Color
This box has a background color of #2c158a
<div style="background-color:#2c158a">Text here</div>
#2c158a Border Color
This box has a border color of #2c158a
<div style="border: 4px solid #2c158a">Text here</div>
CSS codes
<p style="color:#2c158a">Text here</p>
<div style="background-color:#2c158a">Text here</div>
<div style="border: 4px solid #2c158a">Text here</div>
#2c158a Color on white background
This is how a font and box color of #2c158a will look
on a white background.
#2c158a Color on black background
This is how a font and box color of #2c158a hex color will look
on a black background.