In RGB color space, #2c2540 hex color has a red value of 44, a green value of 37 and a blue value of 64.
In CMYK color space (used in color printing), #2c2540 hex color is composed of 31.25% cyan, 42.19% magenta, 0% yellow and 74.9% black.
#2c2540 color has a hue of 255.6 degrees, a saturation of 26.73% and a lightness of 19.8%.
#2c2540 hex color contains mainly BLUE.
The closest web safe color of #2c2540 is #333333
#2c2540 hex color has a decimal value of 2893120.
HEX | 2c2540 | #2c2540 |
---|---|---|
RGB | 44, 37, 64 | rgb(44, 37, 64) |
RGB Percent | 17.25, 14.51, 25.1 | rgb(17.25, 14.51, 25.1) |
CMYK | 31, 42, 0, 75 | |
HSL | 255.6°, 26.73, 19.8 | hsl(255.6, 26.73%, 19.8%) |
HSV | 255.6°, 42.2, 25.1 |
XYZ | 2.626, 2.229, 5.142 |
---|---|
Hunter Lab | 14.93, 5.269, -9.969 |
CIE-LAB | 16.646, 10.44, -16.006 |
CIE-LCH | 16.646, 19.11, 303.115 |
CIE-LUV | 31.25, 42.19, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2c2540
CMYK percent of color #2c2540
Text with hexadecimal color #2c2540
This text has a font color of #2c2540
<p style="color:#2c2540">Text here</p>
#2c2540 Background Color
This box has a background color of #2c2540
<div style="background-color:#2c2540">Text here</div>
#2c2540 Border Color
This box has a border color of #2c2540
<div style="border: 4px solid #2c2540">Text here</div>
CSS codes
<p style="color:#2c2540">Text here</p>
<div style="background-color:#2c2540">Text here</div>
<div style="border: 4px solid #2c2540">Text here</div>
#2c2540 Color on white background
This is how a font and box color of #2c2540 will look
on a white background.
#2c2540 Color on black background
This is how a font and box color of #2c2540 hex color will look
on a black background.