In RGB color space, #2a1248 hex color has a red value of 42, a green value of 18 and a blue value of 72.
In CMYK color space (used in color printing), #2a1248 hex color is composed of 41.67% cyan, 75% magenta, 0% yellow and 71.76% black.
#2a1248 color has a hue of 266.7 degrees, a saturation of 60% and a lightness of 17.6%.
#2a1248 hex color contains mainly BLUE.
The closest web safe color of #2a1248 is #330033
#2a1248 hex color has a decimal value of 2757192.
HEX | 2a1248 | #2a1248 |
---|---|---|
RGB | 42, 18, 72 | rgb(42, 18, 72) |
RGB Percent | 16.47, 7.06, 28.24 | rgb(16.47, 7.06, 28.24) |
CMYK | 42, 75, 0, 72 | |
HSL | 266.7°, 60, 17.6 | hsl(266.7, 60%, 17.6%) |
HSV | 266.7°, 75, 28.2 |
XYZ | 2.341, 1.393, 6.276 |
---|---|
Hunter Lab | 11.803, 14.751, -23.266 |
CIE-LAB | 11.911, 25.17, -29.135 |
CIE-LCH | 11.911, 38.502, 310.824 |
CIE-LUV | 41.67, 75, 0, 71.76 |
Web Safe | 330033 |
RGB percent of color #2a1248
CMYK percent of color #2a1248
Text with hexadecimal color #2a1248
This text has a font color of #2a1248
<p style="color:#2a1248">Text here</p>
#2a1248 Background Color
This box has a background color of #2a1248
<div style="background-color:#2a1248">Text here</div>
#2a1248 Border Color
This box has a border color of #2a1248
<div style="border: 4px solid #2a1248">Text here</div>
CSS codes
<p style="color:#2a1248">Text here</p>
<div style="background-color:#2a1248">Text here</div>
<div style="border: 4px solid #2a1248">Text here</div>
#2a1248 Color on white background
This is how a font and box color of #2a1248 will look
on a white background.
#2a1248 Color on black background
This is how a font and box color of #2a1248 hex color will look
on a black background.