In RGB color space, #2a0840 hex color has a red value of 42, a green value of 8 and a blue value of 64.
In CMYK color space (used in color printing), #2a0840 hex color is composed of 34.38% cyan, 87.5% magenta, 0% yellow and 74.9% black.
#2a0840 color has a hue of 276.4 degrees, a saturation of 77.78% and a lightness of 14.1%.
#2a0840 hex color contains mainly BLUE.
The closest web safe color of #2a0840 is #330033
#2a0840 hex color has a decimal value of 2754624.
HEX | 2a0840 | #2a0840 |
---|---|---|
RGB | 42, 8, 64 | rgb(42, 8, 64) |
RGB Percent | 16.47, 3.14, 25.1 | rgb(16.47, 3.14, 25.1) |
CMYK | 34, 88, 0, 75 | |
HSL | 276.4°, 77.78, 14.1 | hsl(276.4, 77.78%, 14.1%) |
HSV | 276.4°, 87.5, 25.1 |
XYZ | 1.967, 1.036, 4.947 |
---|---|
Hunter Lab | 10.178, 16.683, -21.692 |
CIE-LAB | 9.288, 28.276, -27.766 |
CIE-LCH | 9.288, 39.629, 315.521 |
CIE-LUV | 34.38, 87.5, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #2a0840
CMYK percent of color #2a0840
Text with hexadecimal color #2a0840
This text has a font color of #2a0840
<p style="color:#2a0840">Text here</p>
#2a0840 Background Color
This box has a background color of #2a0840
<div style="background-color:#2a0840">Text here</div>
#2a0840 Border Color
This box has a border color of #2a0840
<div style="border: 4px solid #2a0840">Text here</div>
CSS codes
<p style="color:#2a0840">Text here</p>
<div style="background-color:#2a0840">Text here</div>
<div style="border: 4px solid #2a0840">Text here</div>
#2a0840 Color on white background
This is how a font and box color of #2a0840 will look
on a white background.
#2a0840 Color on black background
This is how a font and box color of #2a0840 hex color will look
on a black background.