In RGB color space, #2c2c40 hex color has a red value of 44, a green value of 44 and a blue value of 64.
In CMYK color space (used in color printing), #2c2c40 hex color is composed of 31.25% cyan, 31.25% magenta, 0% yellow and 74.9% black.
#2c2c40 color has a hue of 240 degrees, a saturation of 18.52% and a lightness of 21.2%.
#2c2c40 hex color contains mainly BLUE.
The closest web safe color of #2c2c40 is #333333
#2c2c40 hex color has a decimal value of 2894912.
HEX | 2c2c40 | #2c2c40 |
---|---|---|
RGB | 44, 44, 64 | rgb(44, 44, 64) |
RGB Percent | 17.25, 17.25, 25.1 | rgb(17.25, 17.25, 25.1) |
CMYK | 31, 31, 0, 75 | |
HSL | 240°, 18.52, 21.2 | hsl(240, 18.52%, 21.2%) |
HSV | 240°, 31.3, 25.1 |
XYZ | 2.865, 2.707, 5.222 |
---|---|
Hunter Lab | 16.453, 2.29, -7.301 |
CIE-LAB | 18.83, 5.479, -12.613 |
CIE-LCH | 18.83, 13.752, 293.48 |
CIE-LUV | 31.25, 31.25, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2c2c40
CMYK percent of color #2c2c40
Text with hexadecimal color #2c2c40
This text has a font color of #2c2c40
<p style="color:#2c2c40">Text here</p>
#2c2c40 Background Color
This box has a background color of #2c2c40
<div style="background-color:#2c2c40">Text here</div>
#2c2c40 Border Color
This box has a border color of #2c2c40
<div style="border: 4px solid #2c2c40">Text here</div>
CSS codes
<p style="color:#2c2c40">Text here</p>
<div style="background-color:#2c2c40">Text here</div>
<div style="border: 4px solid #2c2c40">Text here</div>
#2c2c40 Color on white background
This is how a font and box color of #2c2c40 will look
on a white background.
#2c2c40 Color on black background
This is how a font and box color of #2c2c40 hex color will look
on a black background.