In RGB color space, #2a1254 hex color has a red value of 42, a green value of 18 and a blue value of 84.
In CMYK color space (used in color printing), #2a1254 hex color is composed of 50% cyan, 78.57% magenta, 0% yellow and 67.06% black.
#2a1254 color has a hue of 261.8 degrees, a saturation of 64.71% and a lightness of 20%.
#2a1254 hex color contains mainly BLUE.
The closest web safe color of #2a1254 is #330066
#2a1254 hex color has a decimal value of 2757204.
HEX | 2a1254 | #2a1254 |
---|---|---|
RGB | 42, 18, 84 | rgb(42, 18, 84) |
RGB Percent | 16.47, 7.06, 32.94 | rgb(16.47, 7.06, 32.94) |
CMYK | 50, 79, 0, 67 | |
HSL | 261.8°, 64.71, 20 | hsl(261.8, 64.71%, 20%) |
HSV | 261.8°, 78.6, 32.9 |
XYZ | 2.771, 1.565, 8.544 |
---|---|
Hunter Lab | 12.51, 17.646, -31.737 |
CIE-LAB | 13.015, 28.821, -35.598 |
CIE-LCH | 13.015, 45.802, 308.994 |
CIE-LUV | 50, 78.57, 0, 67.06 |
Web Safe | 330066 |
RGB percent of color #2a1254
CMYK percent of color #2a1254
Text with hexadecimal color #2a1254
This text has a font color of #2a1254
<p style="color:#2a1254">Text here</p>
#2a1254 Background Color
This box has a background color of #2a1254
<div style="background-color:#2a1254">Text here</div>
#2a1254 Border Color
This box has a border color of #2a1254
<div style="border: 4px solid #2a1254">Text here</div>
CSS codes
<p style="color:#2a1254">Text here</p>
<div style="background-color:#2a1254">Text here</div>
<div style="border: 4px solid #2a1254">Text here</div>
#2a1254 Color on white background
This is how a font and box color of #2a1254 will look
on a white background.
#2a1254 Color on black background
This is how a font and box color of #2a1254 hex color will look
on a black background.