In RGB color space, #2a1258 hex color has a red value of 42, a green value of 18 and a blue value of 88.
In CMYK color space (used in color printing), #2a1258 hex color is composed of 52.27% cyan, 79.55% magenta, 0% yellow and 65.49% black.
#2a1258 color has a hue of 260.6 degrees, a saturation of 66.04% and a lightness of 20.8%.
#2a1258 hex color contains mainly BLUE.
The closest web safe color of #2a1258 is #330066
#2a1258 hex color has a decimal value of 2757208.
HEX | 2a1258 | #2a1258 |
---|---|---|
RGB | 42, 18, 88 | rgb(42, 18, 88) |
RGB Percent | 16.47, 7.06, 34.51 | rgb(16.47, 7.06, 34.51) |
CMYK | 52, 80, 0, 65 | |
HSL | 260.6°, 66.04, 20.8 | hsl(260.6, 66.04%, 20.8%) |
HSV | 260.6°, 79.5, 34.5 |
XYZ | 2.933, 1.629, 9.392 |
---|---|
Hunter Lab | 12.763, 18.684, -34.695 |
CIE-LAB | 13.406, 30.081, -37.669 |
CIE-LCH | 13.406, 48.206, 308.61 |
CIE-LUV | 52.27, 79.55, 0, 65.49 |
Web Safe | 330066 |
RGB percent of color #2a1258
CMYK percent of color #2a1258
Text with hexadecimal color #2a1258
This text has a font color of #2a1258
<p style="color:#2a1258">Text here</p>
#2a1258 Background Color
This box has a background color of #2a1258
<div style="background-color:#2a1258">Text here</div>
#2a1258 Border Color
This box has a border color of #2a1258
<div style="border: 4px solid #2a1258">Text here</div>
CSS codes
<p style="color:#2a1258">Text here</p>
<div style="background-color:#2a1258">Text here</div>
<div style="border: 4px solid #2a1258">Text here</div>
#2a1258 Color on white background
This is how a font and box color of #2a1258 will look
on a white background.
#2a1258 Color on black background
This is how a font and box color of #2a1258 hex color will look
on a black background.