In RGB color space, #2c21a0 hex color has a red value of 44, a green value of 33 and a blue value of 160.
In CMYK color space (used in color printing), #2c21a0 hex color is composed of 72.5% cyan, 79.38% magenta, 0% yellow and 37.25% black.
#2c21a0 color has a hue of 245.2 degrees, a saturation of 65.8% and a lightness of 37.8%.
#2c21a0 hex color contains mainly BLUE.
The closest web safe color of #2c21a0 is #333399
#2c21a0 hex color has a decimal value of 2892192.
HEX | 2c21a0 | #2c21a0 |
---|---|---|
RGB | 44, 33, 160 | rgb(44, 33, 160) |
RGB Percent | 17.25, 12.94, 62.75 | rgb(17.25, 12.94, 62.75) |
CMYK | 73, 79, 0, 37 | |
HSL | 245.2°, 65.8, 37.8 | hsl(245.2, 65.8%, 37.8%) |
HSV | 245.2°, 79.4, 62.7 |
XYZ | 7.928, 4.161, 33.643 |
---|---|
Hunter Lab | 20.399, 33.678, -83.507 |
CIE-LAB | 24.197, 45.202, -65.905 |
CIE-LCH | 24.197, 79.917, 304.445 |
CIE-LUV | 72.5, 79.38, 0, 37.25 |
Web Safe | 333399 |
RGB percent of color #2c21a0
CMYK percent of color #2c21a0
Text with hexadecimal color #2c21a0
This text has a font color of #2c21a0
<p style="color:#2c21a0">Text here</p>
#2c21a0 Background Color
This box has a background color of #2c21a0
<div style="background-color:#2c21a0">Text here</div>
#2c21a0 Border Color
This box has a border color of #2c21a0
<div style="border: 4px solid #2c21a0">Text here</div>
CSS codes
<p style="color:#2c21a0">Text here</p>
<div style="background-color:#2c21a0">Text here</div>
<div style="border: 4px solid #2c21a0">Text here</div>
#2c21a0 Color on white background
This is how a font and box color of #2c21a0 will look
on a white background.
#2c21a0 Color on black background
This is how a font and box color of #2c21a0 hex color will look
on a black background.