In RGB color space, #4a7f28 hex color has a red value of 74, a green value of 127 and a blue value of 40.
In CMYK color space (used in color printing), #4a7f28 hex color is composed of 41.73% cyan, 0% magenta, 68.5% yellow and 50.2% black.
#4a7f28 color has a hue of 96.6 degrees, a saturation of 52.1% and a lightness of 32.7%.
#4a7f28 hex color contains mainly GREEN.
The closest web safe color of #4a7f28 is #336633
#4a7f28 hex color has a decimal value of 4882216.
HEX | 4a7f28 | #4a7f28 |
---|---|---|
RGB | 74, 127, 40 | rgb(74, 127, 40) |
RGB Percent | 29.02, 49.8, 15.69 | rgb(29.02, 49.8, 15.69) |
CMYK | 42, 0, 69, 50 | |
HSL | 96.6°, 52.1, 32.7 | hsl(96.6, 52.1%, 32.7%) |
HSV | 96.6°, 68.5, 49.8 |
XYZ | 10.796, 16.788, 4.679 |
---|---|
Hunter Lab | 40.973, -24.67, 21.91 |
CIE-LAB | 47.992, -33.68, 40.278 |
CIE-LCH | 47.992, 52.504, 129.902 |
CIE-LUV | 41.73, 0, 68.5, 50.2 |
Web Safe | 336633 |
RGB percent of color #4a7f28
CMYK percent of color #4a7f28
Text with hexadecimal color #4a7f28
This text has a font color of #4a7f28
<p style="color:#4a7f28">Text here</p>
#4a7f28 Background Color
This box has a background color of #4a7f28
<div style="background-color:#4a7f28">Text here</div>
#4a7f28 Border Color
This box has a border color of #4a7f28
<div style="border: 4px solid #4a7f28">Text here</div>
CSS codes
<p style="color:#4a7f28">Text here</p>
<div style="background-color:#4a7f28">Text here</div>
<div style="border: 4px solid #4a7f28">Text here</div>
#4a7f28 Color on white background
This is how a font and box color of #4a7f28 will look
on a white background.
#4a7f28 Color on black background
This is how a font and box color of #4a7f28 hex color will look
on a black background.