In RGB color space, #2a2a40 hex color has a red value of 42, a green value of 42 and a blue value of 64.
In CMYK color space (used in color printing), #2a2a40 hex color is composed of 34.38% cyan, 34.38% magenta, 0% yellow and 74.9% black.
#2a2a40 color has a hue of 240 degrees, a saturation of 20.75% and a lightness of 20.8%.
#2a2a40 hex color contains mainly BLUE.
The closest web safe color of #2a2a40 is #333333
#2a2a40 hex color has a decimal value of 2763328.
HEX | 2a2a40 | #2a2a40 |
---|---|---|
RGB | 42, 42, 64 | rgb(42, 42, 64) |
RGB Percent | 16.47, 16.47, 25.1 | rgb(16.47, 16.47, 25.1) |
CMYK | 34, 34, 0, 75 | |
HSL | 240°, 20.75, 20.8 | hsl(240, 20.75%, 20.8%) |
HSV | 240°, 34.4, 25.1 |
XYZ | 2.708, 2.518, 5.194 |
---|---|
Hunter Lab | 15.868, 2.693, -8.299 |
CIE-LAB | 18, 6.161, -13.914 |
CIE-LCH | 18, 15.217, 293.883 |
CIE-LUV | 34.38, 34.38, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2a2a40
CMYK percent of color #2a2a40
Text with hexadecimal color #2a2a40
This text has a font color of #2a2a40
<p style="color:#2a2a40">Text here</p>
#2a2a40 Background Color
This box has a background color of #2a2a40
<div style="background-color:#2a2a40">Text here</div>
#2a2a40 Border Color
This box has a border color of #2a2a40
<div style="border: 4px solid #2a2a40">Text here</div>
CSS codes
<p style="color:#2a2a40">Text here</p>
<div style="background-color:#2a2a40">Text here</div>
<div style="border: 4px solid #2a2a40">Text here</div>
#2a2a40 Color on white background
This is how a font and box color of #2a2a40 will look
on a white background.
#2a2a40 Color on black background
This is how a font and box color of #2a2a40 hex color will look
on a black background.