In RGB color space, #2a1838 hex color has a red value of 42, a green value of 24 and a blue value of 56.
In CMYK color space (used in color printing), #2a1838 hex color is composed of 25% cyan, 57.14% magenta, 0% yellow and 78.04% black.
#2a1838 color has a hue of 273.8 degrees, a saturation of 40% and a lightness of 15.7%.
#2a1838 hex color contains mainly BLUE.
The closest web safe color of #2a1838 is #330033
#2a1838 hex color has a decimal value of 2758712.
HEX | 2a1838 | #2a1838 |
---|---|---|
RGB | 42, 24, 56 | rgb(42, 24, 56) |
RGB Percent | 16.47, 9.41, 21.96 | rgb(16.47, 9.41, 21.96) |
CMYK | 25, 57, 0, 78 | |
HSL | 273.8°, 40, 15.7 | hsl(273.8, 40%, 15.7%) |
HSV | 273.8°, 57.1, 22 |
XYZ | 1.995, 1.431, 3.912 |
---|---|
Hunter Lab | 11.962, 8.835, -11.016 |
CIE-LAB | 12.162, 16.533, -17.439 |
CIE-LCH | 12.162, 24.03, 313.472 |
CIE-LUV | 25, 57.14, 0, 78.04 |
Web Safe | 330033 |
RGB percent of color #2a1838
CMYK percent of color #2a1838
Text with hexadecimal color #2a1838
This text has a font color of #2a1838
<p style="color:#2a1838">Text here</p>
#2a1838 Background Color
This box has a background color of #2a1838
<div style="background-color:#2a1838">Text here</div>
#2a1838 Border Color
This box has a border color of #2a1838
<div style="border: 4px solid #2a1838">Text here</div>
CSS codes
<p style="color:#2a1838">Text here</p>
<div style="background-color:#2a1838">Text here</div>
<div style="border: 4px solid #2a1838">Text here</div>
#2a1838 Color on white background
This is how a font and box color of #2a1838 will look
on a white background.
#2a1838 Color on black background
This is how a font and box color of #2a1838 hex color will look
on a black background.