In RGB color space, #2a1fb6 hex color has a red value of 42, a green value of 31 and a blue value of 182.
In CMYK color space (used in color printing), #2a1fb6 hex color is composed of 76.92% cyan, 82.97% magenta, 0% yellow and 28.63% black.
#2a1fb6 color has a hue of 244.4 degrees, a saturation of 70.89% and a lightness of 41.8%.
#2a1fb6 hex color contains mainly BLUE.
The closest web safe color of #2a1fb6 is #3333cc
#2a1fb6 hex color has a decimal value of 2760630.
HEX | 2a1fb6 | #2a1fb6 |
---|---|---|
RGB | 42, 31, 182 | rgb(42, 31, 182) |
RGB Percent | 16.47, 12.16, 71.37 | rgb(16.47, 12.16, 71.37) |
CMYK | 77, 83, 0, 29 | |
HSL | 244.4°, 70.89, 41.8 | hsl(244.4, 70.89%, 41.8%) |
HSV | 244.4°, 83, 71.4 |
XYZ | 9.888, 4.85, 44.671 |
---|---|
Hunter Lab | 22.023, 41.605, -104.848 |
CIE-LAB | 26.303, 52.817, -75.675 |
CIE-LCH | 26.303, 92.284, 304.913 |
CIE-LUV | 76.92, 82.97, 0, 28.63 |
Web Safe | 3333cc |
RGB percent of color #2a1fb6
CMYK percent of color #2a1fb6
Text with hexadecimal color #2a1fb6
This text has a font color of #2a1fb6
<p style="color:#2a1fb6">Text here</p>
#2a1fb6 Background Color
This box has a background color of #2a1fb6
<div style="background-color:#2a1fb6">Text here</div>
#2a1fb6 Border Color
This box has a border color of #2a1fb6
<div style="border: 4px solid #2a1fb6">Text here</div>
CSS codes
<p style="color:#2a1fb6">Text here</p>
<div style="background-color:#2a1fb6">Text here</div>
<div style="border: 4px solid #2a1fb6">Text here</div>
#2a1fb6 Color on white background
This is how a font and box color of #2a1fb6 will look
on a white background.
#2a1fb6 Color on black background
This is how a font and box color of #2a1fb6 hex color will look
on a black background.