In RGB color space, #2a2040 hex color has a red value of 42, a green value of 32 and a blue value of 64.
In CMYK color space (used in color printing), #2a2040 hex color is composed of 34.38% cyan, 50% magenta, 0% yellow and 74.9% black.
#2a2040 color has a hue of 258.8 degrees, a saturation of 33.33% and a lightness of 18.8%.
#2a2040 hex color contains mainly BLUE.
The closest web safe color of #2a2040 is #333333
#2a2040 hex color has a decimal value of 2760768.
HEX | 2a2040 | #2a2040 |
---|---|---|
RGB | 42, 32, 64 | rgb(42, 32, 64) |
RGB Percent | 16.47, 12.55, 25.1 | rgb(16.47, 12.55, 25.1) |
CMYK | 34, 50, 0, 75 | |
HSL | 258.8°, 33.33, 18.8 | hsl(258.8, 33.33%, 18.8%) |
HSV | 258.8°, 50, 25.1 |
XYZ | 2.397, 1.895, 5.09 |
---|---|
Hunter Lab | 13.766, 6.991, -12.287 |
CIE-LAB | 14.926, 13.324, -18.726 |
CIE-LCH | 14.926, 22.982, 305.433 |
CIE-LUV | 34.38, 50, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2a2040
CMYK percent of color #2a2040
Text with hexadecimal color #2a2040
This text has a font color of #2a2040
<p style="color:#2a2040">Text here</p>
#2a2040 Background Color
This box has a background color of #2a2040
<div style="background-color:#2a2040">Text here</div>
#2a2040 Border Color
This box has a border color of #2a2040
<div style="border: 4px solid #2a2040">Text here</div>
CSS codes
<p style="color:#2a2040">Text here</p>
<div style="background-color:#2a2040">Text here</div>
<div style="border: 4px solid #2a2040">Text here</div>
#2a2040 Color on white background
This is how a font and box color of #2a2040 will look
on a white background.
#2a2040 Color on black background
This is how a font and box color of #2a2040 hex color will look
on a black background.