In RGB color space, #2a2540 hex color has a red value of 42, a green value of 37 and a blue value of 64.
In CMYK color space (used in color printing), #2a2540 hex color is composed of 34.38% cyan, 42.19% magenta, 0% yellow and 74.9% black.
#2a2540 color has a hue of 251.1 degrees, a saturation of 26.73% and a lightness of 19.8%.
#2a2540 hex color contains mainly BLUE.
The closest web safe color of #2a2540 is #333333
#2a2540 hex color has a decimal value of 2762048.
HEX | 2a2540 | #2a2540 |
---|---|---|
RGB | 42, 37, 64 | rgb(42, 37, 64) |
RGB Percent | 16.47, 14.51, 25.1 | rgb(16.47, 14.51, 25.1) |
CMYK | 34, 42, 0, 75 | |
HSL | 251.1°, 26.73, 19.8 | hsl(251.1, 26.73%, 19.8%) |
HSV | 251.1°, 42.2, 25.1 |
XYZ | 2.542, 2.186, 5.138 |
---|---|
Hunter Lab | 14.785, 4.815, -10.254 |
CIE-LAB | 16.435, 9.722, -16.351 |
CIE-LCH | 16.435, 19.023, 300.735 |
CIE-LUV | 34.38, 42.19, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2a2540
CMYK percent of color #2a2540
Text with hexadecimal color #2a2540
This text has a font color of #2a2540
<p style="color:#2a2540">Text here</p>
#2a2540 Background Color
This box has a background color of #2a2540
<div style="background-color:#2a2540">Text here</div>
#2a2540 Border Color
This box has a border color of #2a2540
<div style="border: 4px solid #2a2540">Text here</div>
CSS codes
<p style="color:#2a2540">Text here</p>
<div style="background-color:#2a2540">Text here</div>
<div style="border: 4px solid #2a2540">Text here</div>
#2a2540 Color on white background
This is how a font and box color of #2a2540 will look
on a white background.
#2a2540 Color on black background
This is how a font and box color of #2a2540 hex color will look
on a black background.