In RGB color space, #2a1158 hex color has a red value of 42, a green value of 17 and a blue value of 88.
In CMYK color space (used in color printing), #2a1158 hex color is composed of 52.27% cyan, 80.68% magenta, 0% yellow and 65.49% black.
#2a1158 color has a hue of 261.1 degrees, a saturation of 67.62% and a lightness of 20.6%.
#2a1158 hex color contains mainly BLUE.
The closest web safe color of #2a1158 is #330066
#2a1158 hex color has a decimal value of 2756952.
HEX | 2a1158 | #2a1158 |
---|---|---|
RGB | 42, 17, 88 | rgb(42, 17, 88) |
RGB Percent | 16.47, 6.67, 34.51 | rgb(16.47, 6.67, 34.51) |
CMYK | 52, 81, 0, 65 | |
HSL | 261.1°, 67.62, 20.6 | hsl(261.1, 67.62%, 20.6%) |
HSV | 261.1°, 80.7, 34.5 |
XYZ | 2.917, 1.598, 9.387 |
---|---|
Hunter Lab | 12.641, 19.067, -35.178 |
CIE-LAB | 13.218, 30.604, -37.977 |
CIE-LCH | 13.218, 48.774, 308.864 |
CIE-LUV | 52.27, 80.68, 0, 65.49 |
Web Safe | 330066 |
RGB percent of color #2a1158
CMYK percent of color #2a1158
Text with hexadecimal color #2a1158
This text has a font color of #2a1158
<p style="color:#2a1158">Text here</p>
#2a1158 Background Color
This box has a background color of #2a1158
<div style="background-color:#2a1158">Text here</div>
#2a1158 Border Color
This box has a border color of #2a1158
<div style="border: 4px solid #2a1158">Text here</div>
CSS codes
<p style="color:#2a1158">Text here</p>
<div style="background-color:#2a1158">Text here</div>
<div style="border: 4px solid #2a1158">Text here</div>
#2a1158 Color on white background
This is how a font and box color of #2a1158 will look
on a white background.
#2a1158 Color on black background
This is how a font and box color of #2a1158 hex color will look
on a black background.