In RGB color space, #2c0c8d hex color has a red value of 44, a green value of 12 and a blue value of 141.
In CMYK color space (used in color printing), #2c0c8d hex color is composed of 68.79% cyan, 91.49% magenta, 0% yellow and 44.71% black.
#2c0c8d color has a hue of 254.9 degrees, a saturation of 84.31% and a lightness of 30%.
#2c0c8d hex color contains mainly BLUE.
The closest web safe color of #2c0c8d is #330099
#2c0c8d hex color has a decimal value of 2886797.
HEX | 2c0c8d | #2c0c8d |
---|---|---|
RGB | 44, 12, 141 | rgb(44, 12, 141) |
RGB Percent | 17.25, 4.71, 55.29 | rgb(17.25, 4.71, 55.29) |
CMYK | 69, 91, 0, 45 | |
HSL | 254.9°, 84.31, 30 | hsl(254.9, 84.31%, 30%) |
HSV | 254.9°, 91.5, 55.3 |
XYZ | 5.978, 2.722, 25.41 |
---|---|
Hunter Lab | 16.498, 35.805, -79.766 |
CIE-LAB | 18.894, 48.436, -62.972 |
CIE-LCH | 18.894, 79.445, 307.566 |
CIE-LUV | 68.79, 91.49, 0, 44.71 |
Web Safe | 330099 |
RGB percent of color #2c0c8d
CMYK percent of color #2c0c8d
Text with hexadecimal color #2c0c8d
This text has a font color of #2c0c8d
<p style="color:#2c0c8d">Text here</p>
#2c0c8d Background Color
This box has a background color of #2c0c8d
<div style="background-color:#2c0c8d">Text here</div>
#2c0c8d Border Color
This box has a border color of #2c0c8d
<div style="border: 4px solid #2c0c8d">Text here</div>
CSS codes
<p style="color:#2c0c8d">Text here</p>
<div style="background-color:#2c0c8d">Text here</div>
<div style="border: 4px solid #2c0c8d">Text here</div>
#2c0c8d Color on white background
This is how a font and box color of #2c0c8d will look
on a white background.
#2c0c8d Color on black background
This is how a font and box color of #2c0c8d hex color will look
on a black background.