#a4f728 Color
Color Codes | |
---|---|
Hex Code | #a4f728 |
RGB Code | rgb(164, 247, 40) |
HSL Code | hsl(84, 93%, 56%) |
#a4f728 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(164, 247, 40); }
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(84, 93%, 56%); }
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 #a4f728
RGB Code | Hex Code | Preview |
---|---|---|
rgb(164, 247, 40, 10%) | #a4f7281a | |
rgb(164, 247, 40, 20%) | #a4f72833 | |
rgb(164, 247, 40, 40%) | #a4f7284C | |
rgb(164, 247, 40, 60%) | #a4f72899 | |
rgb(164, 247, 40, 80%) | #a4f728CC | |
rgb(164, 247, 40, 100%) | #a4f728FF |
Saturated and desaturated colors of #a4f728
HSL Code | Preview |
---|---|
hsl(84, 10%, 56%) | |
hsl(84, 20%, 56%) | |
hsl(84, 40%, 56%) | |
hsl(84, 60%, 56%) | |
hsl(84, 80%, 56%) | |
hsl(84, 100%, 56%) |
#a4f728 Color Usage In CSS
body { color: #a4f728; } p { color: rgb(164, 247, 40); } header { border-bottom:1px solid #a4f728; }