In RGB color space, #2a2840 hex color has a red value of 42, a green value of 40 and a blue value of 64.
In CMYK color space (used in color printing), #2a2840 hex color is composed of 34.38% cyan, 37.5% magenta, 0% yellow and 74.9% black.
#2a2840 color has a hue of 245 degrees, a saturation of 23.08% and a lightness of 20.4%.
#2a2840 hex color contains mainly BLUE.
The closest web safe color of #2a2840 is #333333
#2a2840 hex color has a decimal value of 2762816.
HEX | 2a2840 | #2a2840 |
---|---|---|
RGB | 42, 40, 64 | rgb(42, 40, 64) |
RGB Percent | 16.47, 15.69, 25.1 | rgb(16.47, 15.69, 25.1) |
CMYK | 34, 38, 0, 75 | |
HSL | 245°, 23.08, 20.4 | hsl(245, 23.08%, 20.4%) |
HSV | 245°, 37.5, 25.1 |
XYZ | 2.639, 2.38, 5.171 |
---|---|
Hunter Lab | 15.427, 3.537, -9.074 |
CIE-LAB | 17.367, 7.581, -14.898 |
CIE-LCH | 17.367, 16.716, 296.97 |
CIE-LUV | 34.38, 37.5, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2a2840
CMYK percent of color #2a2840
Text with hexadecimal color #2a2840
This text has a font color of #2a2840
<p style="color:#2a2840">Text here</p>
#2a2840 Background Color
This box has a background color of #2a2840
<div style="background-color:#2a2840">Text here</div>
#2a2840 Border Color
This box has a border color of #2a2840
<div style="border: 4px solid #2a2840">Text here</div>
CSS codes
<p style="color:#2a2840">Text here</p>
<div style="background-color:#2a2840">Text here</div>
<div style="border: 4px solid #2a2840">Text here</div>
#2a2840 Color on white background
This is how a font and box color of #2a2840 will look
on a white background.
#2a2840 Color on black background
This is how a font and box color of #2a2840 hex color will look
on a black background.