In RGB color space, #2a1138 hex color has a red value of 42, a green value of 17 and a blue value of 56.
In CMYK color space (used in color printing), #2a1138 hex color is composed of 25% cyan, 69.64% magenta, 0% yellow and 78.04% black.
#2a1138 color has a hue of 278.5 degrees, a saturation of 53.42% and a lightness of 14.3%.
#2a1138 hex color contains mainly BLUE.
The closest web safe color of #2a1138 is #330033
#2a1138 hex color has a decimal value of 2756920.
HEX | 2a1138 | #2a1138 |
---|---|---|
RGB | 42, 17, 56 | rgb(42, 17, 56) |
RGB Percent | 16.47, 6.67, 21.96 | rgb(16.47, 6.67, 21.96) |
CMYK | 25, 70, 0, 78 | |
HSL | 278.5°, 53.42, 14.3 | hsl(278.5, 53.42%, 14.3%) |
HSV | 278.5°, 69.6, 22 |
XYZ | 1.869, 1.179, 3.87 |
---|---|
Hunter Lab | 10.858, 11.723, -13.531 |
CIE-LAB | 10.402, 21.157, -20.238 |
CIE-LCH | 10.402, 29.278, 316.272 |
CIE-LUV | 25, 69.64, 0, 78.04 |
Web Safe | 330033 |
RGB percent of color #2a1138
CMYK percent of color #2a1138
Text with hexadecimal color #2a1138
This text has a font color of #2a1138
<p style="color:#2a1138">Text here</p>
#2a1138 Background Color
This box has a background color of #2a1138
<div style="background-color:#2a1138">Text here</div>
#2a1138 Border Color
This box has a border color of #2a1138
<div style="border: 4px solid #2a1138">Text here</div>
CSS codes
<p style="color:#2a1138">Text here</p>
<div style="background-color:#2a1138">Text here</div>
<div style="border: 4px solid #2a1138">Text here</div>
#2a1138 Color on white background
This is how a font and box color of #2a1138 will look
on a white background.
#2a1138 Color on black background
This is how a font and box color of #2a1138 hex color will look
on a black background.