In RGB color space, #2a1840 hex color has a red value of 42, a green value of 24 and a blue value of 64.
In CMYK color space (used in color printing), #2a1840 hex color is composed of 34.38% cyan, 62.5% magenta, 0% yellow and 74.9% black.
#2a1840 color has a hue of 267 degrees, a saturation of 45.45% and a lightness of 17.3%.
#2a1840 hex color contains mainly BLUE.
The closest web safe color of #2a1840 is #330033
#2a1840 hex color has a decimal value of 2758720.
HEX | 2a1840 | #2a1840 |
---|---|---|
RGB | 42, 24, 64 | rgb(42, 24, 64) |
RGB Percent | 16.47, 9.41, 25.1 | rgb(16.47, 9.41, 25.1) |
CMYK | 34, 63, 0, 75 | |
HSL | 267°, 45.45, 17.3 | hsl(267, 45.45%, 17.3%) |
HSV | 267°, 62.5, 25.1 |
XYZ | 2.207, 1.516, 5.027 |
---|---|
Hunter Lab | 12.313, 10.449, -15.588 |
CIE-LAB | 12.709, 18.898, -22.25 |
CIE-LCH | 12.709, 29.192, 310.343 |
CIE-LUV | 34.38, 62.5, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #2a1840
CMYK percent of color #2a1840
Text with hexadecimal color #2a1840
This text has a font color of #2a1840
<p style="color:#2a1840">Text here</p>
#2a1840 Background Color
This box has a background color of #2a1840
<div style="background-color:#2a1840">Text here</div>
#2a1840 Border Color
This box has a border color of #2a1840
<div style="border: 4px solid #2a1840">Text here</div>
CSS codes
<p style="color:#2a1840">Text here</p>
<div style="background-color:#2a1840">Text here</div>
<div style="border: 4px solid #2a1840">Text here</div>
#2a1840 Color on white background
This is how a font and box color of #2a1840 will look
on a white background.
#2a1840 Color on black background
This is how a font and box color of #2a1840 hex color will look
on a black background.