In RGB color space, #2a2c40 hex color has a red value of 42, a green value of 44 and a blue value of 64.
In CMYK color space (used in color printing), #2a2c40 hex color is composed of 34.38% cyan, 31.25% magenta, 0% yellow and 74.9% black.
#2a2c40 color has a hue of 234.5 degrees, a saturation of 20.75% and a lightness of 20.8%.
#2a2c40 hex color contains mainly BLUE.
The closest web safe color of #2a2c40 is #333333
#2a2c40 hex color has a decimal value of 2763840.
HEX | 2a2c40 | #2a2c40 |
---|---|---|
RGB | 42, 44, 64 | rgb(42, 44, 64) |
RGB Percent | 16.47, 17.25, 25.1 | rgb(16.47, 17.25, 25.1) |
CMYK | 34, 31, 0, 75 | |
HSL | 234.5°, 20.75, 20.8 | hsl(234.5, 20.75%, 20.8%) |
HSV | 234.5°, 34.4, 25.1 |
XYZ | 2.781, 2.664, 5.218 |
---|---|
Hunter Lab | 16.322, 1.851, -7.53 |
CIE-LAB | 18.645, 4.742, -12.914 |
CIE-LCH | 18.645, 13.757, 290.163 |
CIE-LUV | 34.38, 31.25, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2a2c40
CMYK percent of color #2a2c40
Text with hexadecimal color #2a2c40
This text has a font color of #2a2c40
<p style="color:#2a2c40">Text here</p>
#2a2c40 Background Color
This box has a background color of #2a2c40
<div style="background-color:#2a2c40">Text here</div>
#2a2c40 Border Color
This box has a border color of #2a2c40
<div style="border: 4px solid #2a2c40">Text here</div>
CSS codes
<p style="color:#2a2c40">Text here</p>
<div style="background-color:#2a2c40">Text here</div>
<div style="border: 4px solid #2a2c40">Text here</div>
#2a2c40 Color on white background
This is how a font and box color of #2a2c40 will look
on a white background.
#2a2c40 Color on black background
This is how a font and box color of #2a2c40 hex color will look
on a black background.