In RGB color space, #2c1138 hex color has a red value of 44, a green value of 17 and a blue value of 56.
In CMYK color space (used in color printing), #2c1138 hex color is composed of 21.43% cyan, 69.64% magenta, 0% yellow and 78.04% black.
#2c1138 color has a hue of 281.5 degrees, a saturation of 53.42% and a lightness of 14.3%.
#2c1138 hex color contains mainly BLUE.
The closest web safe color of #2c1138 is #330033
#2c1138 hex color has a decimal value of 2887992.
HEX | 2c1138 | #2c1138 |
---|---|---|
RGB | 44, 17, 56 | rgb(44, 17, 56) |
RGB Percent | 17.25, 6.67, 21.96 | rgb(17.25, 6.67, 21.96) |
CMYK | 21, 70, 0, 78 | |
HSL | 281.5°, 53.42, 14.3 | hsl(281.5, 53.42%, 14.3%) |
HSV | 281.5°, 69.6, 22 |
XYZ | 1.953, 1.222, 3.874 |
---|---|
Hunter Lab | 11.054, 12.191, -13.04 |
CIE-LAB | 10.719, 21.782, -19.714 |
CIE-LCH | 10.719, 29.379, 317.853 |
CIE-LUV | 21.43, 69.64, 0, 78.04 |
Web Safe | 330033 |
RGB percent of color #2c1138
CMYK percent of color #2c1138
Text with hexadecimal color #2c1138
This text has a font color of #2c1138
<p style="color:#2c1138">Text here</p>
#2c1138 Background Color
This box has a background color of #2c1138
<div style="background-color:#2c1138">Text here</div>
#2c1138 Border Color
This box has a border color of #2c1138
<div style="border: 4px solid #2c1138">Text here</div>
CSS codes
<p style="color:#2c1138">Text here</p>
<div style="background-color:#2c1138">Text here</div>
<div style="border: 4px solid #2c1138">Text here</div>
#2c1138 Color on white background
This is how a font and box color of #2c1138 will look
on a white background.
#2c1138 Color on black background
This is how a font and box color of #2c1138 hex color will look
on a black background.