In RGB color space, #21a51b hex color has a red value of 33, a green value of 165 and a blue value of 27.
In CMYK color space (used in color printing), #21a51b hex color is composed of 80% cyan, 0% magenta, 83.64% yellow and 35.29% black.
#21a51b color has a hue of 117.4 degrees, a saturation of 71.88% and a lightness of 37.6%.
#21a51b hex color contains mainly GREEN.
The closest web safe color of #21a51b is #339933
#21a51b hex color has a decimal value of 2204955.
HEX | 21a51b | #21a51b |
---|---|---|
RGB | 33, 165, 27 | rgb(33, 165, 27) |
RGB Percent | 12.94, 64.71, 10.59 | rgb(12.94, 64.71, 10.59) |
CMYK | 80, 0, 84, 35 | |
HSL | 117.4°, 71.88, 37.6 | hsl(117.4, 71.88%, 37.6%) |
HSV | 117.4°, 83.6, 64.7 |
XYZ | 14.28, 27.313, 5.556 |
---|---|
Hunter Lab | 52.262, -42.685, 30.28 |
CIE-LAB | 59.263, -58.602, 55.582 |
CIE-LCH | 59.263, 80.769, 136.515 |
CIE-LUV | 80, 0, 83.64, 35.29 |
Web Safe | 339933 |
RGB percent of color #21a51b
CMYK percent of color #21a51b
Text with hexadecimal color #21a51b
This text has a font color of #21a51b
<p style="color:#21a51b">Text here</p>
#21a51b Background Color
This box has a background color of #21a51b
<div style="background-color:#21a51b">Text here</div>
#21a51b Border Color
This box has a border color of #21a51b
<div style="border: 4px solid #21a51b">Text here</div>
CSS codes
<p style="color:#21a51b">Text here</p>
<div style="background-color:#21a51b">Text here</div>
<div style="border: 4px solid #21a51b">Text here</div>
#21a51b Color on white background
This is how a font and box color of #21a51b will look
on a white background.
#21a51b Color on black background
This is how a font and box color of #21a51b hex color will look
on a black background.