#4ba64e Color
Color Codes | |
---|---|
Hex Code | #4ba64e |
RGB Code | rgb(75, 166, 78) |
HSL Code | hsl(122, 38%, 47%) |
#4ba64e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(75, 166, 78); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(122, 38%, 47%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #4ba64e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(75, 166, 78, 10%) | #4ba64e1a | |
rgb(75, 166, 78, 20%) | #4ba64e33 | |
rgb(75, 166, 78, 40%) | #4ba64e4C | |
rgb(75, 166, 78, 60%) | #4ba64e99 | |
rgb(75, 166, 78, 80%) | #4ba64eCC | |
rgb(75, 166, 78, 100%) | #4ba64eFF |
Saturated and desaturated colors of #4ba64e
HSL Code | Preview |
---|---|
hsl(122, 10%, 47%) | |
hsl(122, 20%, 47%) | |
hsl(122, 40%, 47%) | |
hsl(122, 60%, 47%) | |
hsl(122, 80%, 47%) | |
hsl(122, 100%, 47%) |
#4ba64e Color Usage In CSS
body { color: #4ba64e; } p { color: rgb(75, 166, 78); } header { border-bottom:1px solid #4ba64e; }