In RGB color space, #2d7f21 hex color has a red value of 45, a green value of 127 and a blue value of 33.
In CMYK color space (used in color printing), #2d7f21 hex color is composed of 64.57% cyan, 0% magenta, 74.02% yellow and 50.2% black.
#2d7f21 color has a hue of 112.3 degrees, a saturation of 58.75% and a lightness of 31.4%.
#2d7f21 hex color contains mainly GREEN.
The closest web safe color of #2d7f21 is #336633
#2d7f21 hex color has a decimal value of 2981665.
HEX | 2d7f21 | #2d7f21 |
---|---|---|
RGB | 45, 127, 33 | rgb(45, 127, 33) |
RGB Percent | 17.65, 49.8, 12.94 | rgb(17.65, 49.8, 12.94) |
CMYK | 65, 0, 74, 50 | |
HSL | 112.3°, 58.75, 31.4 | hsl(112.3, 58.75%, 31.4%) |
HSV | 112.3°, 74, 49.8 |
XYZ | 8.946, 15.846, 4.026 |
---|---|
Hunter Lab | 39.807, -29.547, 21.868 |
CIE-LAB | 46.772, -43.128, 41.598 |
CIE-LCH | 46.772, 59.92, 136.035 |
CIE-LUV | 64.57, 0, 74.02, 50.2 |
Web Safe | 336633 |
RGB percent of color #2d7f21
CMYK percent of color #2d7f21
Text with hexadecimal color #2d7f21
This text has a font color of #2d7f21
<p style="color:#2d7f21">Text here</p>
#2d7f21 Background Color
This box has a background color of #2d7f21
<div style="background-color:#2d7f21">Text here</div>
#2d7f21 Border Color
This box has a border color of #2d7f21
<div style="border: 4px solid #2d7f21">Text here</div>
CSS codes
<p style="color:#2d7f21">Text here</p>
<div style="background-color:#2d7f21">Text here</div>
<div style="border: 4px solid #2d7f21">Text here</div>
#2d7f21 Color on white background
This is how a font and box color of #2d7f21 will look
on a white background.
#2d7f21 Color on black background
This is how a font and box color of #2d7f21 hex color will look
on a black background.