In RGB color space, #2c1798 hex color has a red value of 44, a green value of 23 and a blue value of 152.
In CMYK color space (used in color printing), #2c1798 hex color is composed of 71.05% cyan, 84.87% magenta, 0% yellow and 40.39% black.
#2c1798 color has a hue of 249.8 degrees, a saturation of 73.71% and a lightness of 34.3%.
#2c1798 hex color contains mainly BLUE.
The closest web safe color of #2c1798 is #330099
#2c1798 hex color has a decimal value of 2889624.
HEX | 2c1798 | #2c1798 |
---|---|---|
RGB | 44, 23, 152 | rgb(44, 23, 152) |
RGB Percent | 17.25, 9.02, 59.61 | rgb(17.25, 9.02, 59.61) |
CMYK | 71, 85, 0, 40 | |
HSL | 249.8°, 73.71, 34.3 | hsl(249.8, 73.71%, 34.3%) |
HSV | 249.8°, 84.9, 59.6 |
XYZ | 7.013, 3.415, 29.995 |
---|---|
Hunter Lab | 18.48, 35.401, -83.3 |
CIE-LAB | 21.635, 47.494, -65.247 |
CIE-LCH | 21.635, 80.702, 306.051 |
CIE-LUV | 71.05, 84.87, 0, 40.39 |
Web Safe | 330099 |
RGB percent of color #2c1798
CMYK percent of color #2c1798
Text with hexadecimal color #2c1798
This text has a font color of #2c1798
<p style="color:#2c1798">Text here</p>
#2c1798 Background Color
This box has a background color of #2c1798
<div style="background-color:#2c1798">Text here</div>
#2c1798 Border Color
This box has a border color of #2c1798
<div style="border: 4px solid #2c1798">Text here</div>
CSS codes
<p style="color:#2c1798">Text here</p>
<div style="background-color:#2c1798">Text here</div>
<div style="border: 4px solid #2c1798">Text here</div>
#2c1798 Color on white background
This is how a font and box color of #2c1798 will look
on a white background.
#2c1798 Color on black background
This is how a font and box color of #2c1798 hex color will look
on a black background.