In RGB color space, #2a1240 hex color has a red value of 42, a green value of 18 and a blue value of 64.
In CMYK color space (used in color printing), #2a1240 hex color is composed of 34.38% cyan, 71.88% magenta, 0% yellow and 74.9% black.
#2a1240 color has a hue of 271.3 degrees, a saturation of 56.1% and a lightness of 16.1%.
#2a1240 hex color contains mainly BLUE.
The closest web safe color of #2a1240 is #330033
#2a1240 hex color has a decimal value of 2757184.
HEX | 2a1240 | #2a1240 |
---|---|---|
RGB | 42, 18, 64 | rgb(42, 18, 64) |
RGB Percent | 16.47, 7.06, 25.1 | rgb(16.47, 7.06, 25.1) |
CMYK | 34, 72, 0, 75 | |
HSL | 271.3°, 56.1, 16.1 | hsl(271.3, 56.1%, 16.1%) |
HSV | 271.3°, 71.9, 25.1 |
XYZ | 2.097, 1.295, 4.99 |
---|---|
Hunter Lab | 11.38, 12.978, -18.033 |
CIE-LAB | 11.24, 22.819, -24.606 |
CIE-LCH | 11.24, 33.558, 312.842 |
CIE-LUV | 34.38, 71.88, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #2a1240
CMYK percent of color #2a1240
Text with hexadecimal color #2a1240
This text has a font color of #2a1240
<p style="color:#2a1240">Text here</p>
#2a1240 Background Color
This box has a background color of #2a1240
<div style="background-color:#2a1240">Text here</div>
#2a1240 Border Color
This box has a border color of #2a1240
<div style="border: 4px solid #2a1240">Text here</div>
CSS codes
<p style="color:#2a1240">Text here</p>
<div style="background-color:#2a1240">Text here</div>
<div style="border: 4px solid #2a1240">Text here</div>
#2a1240 Color on white background
This is how a font and box color of #2a1240 will look
on a white background.
#2a1240 Color on black background
This is how a font and box color of #2a1240 hex color will look
on a black background.