In RGB color space, #2a1438 hex color has a red value of 42, a green value of 20 and a blue value of 56.
In CMYK color space (used in color printing), #2a1438 hex color is composed of 25% cyan, 64.29% magenta, 0% yellow and 78.04% black.
#2a1438 color has a hue of 276.7 degrees, a saturation of 47.37% and a lightness of 14.9%.
#2a1438 hex color contains mainly BLUE.
The closest web safe color of #2a1438 is #330033
#2a1438 hex color has a decimal value of 2757688.
HEX | 2a1438 | #2a1438 |
---|---|---|
RGB | 42, 20, 56 | rgb(42, 20, 56) |
RGB Percent | 16.47, 7.84, 21.96 | rgb(16.47, 7.84, 21.96) |
CMYK | 25, 64, 0, 78 | |
HSL | 276.7°, 47.37, 14.9 | hsl(276.7, 47.37%, 14.9%) |
HSV | 276.7°, 64.3, 22 |
XYZ | 1.919, 1.278, 3.887 |
---|---|
Hunter Lab | 11.305, 10.517, -12.473 |
CIE-LAB | 11.121, 19.25, -19.094 |
CIE-LCH | 11.121, 27.114, 315.233 |
CIE-LUV | 25, 64.29, 0, 78.04 |
Web Safe | 330033 |
RGB percent of color #2a1438
CMYK percent of color #2a1438
Text with hexadecimal color #2a1438
This text has a font color of #2a1438
<p style="color:#2a1438">Text here</p>
#2a1438 Background Color
This box has a background color of #2a1438
<div style="background-color:#2a1438">Text here</div>
#2a1438 Border Color
This box has a border color of #2a1438
<div style="border: 4px solid #2a1438">Text here</div>
CSS codes
<p style="color:#2a1438">Text here</p>
<div style="background-color:#2a1438">Text here</div>
<div style="border: 4px solid #2a1438">Text here</div>
#2a1438 Color on white background
This is how a font and box color of #2a1438 will look
on a white background.
#2a1438 Color on black background
This is how a font and box color of #2a1438 hex color will look
on a black background.