#54df2d Color
Color Codes | |
---|---|
Hex Code | #54df2d |
RGB Code | rgb(84, 223, 45) |
HSL Code | hsl(107, 74%, 53%) |
#54df2d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 223, 45); }
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(107, 74%, 53%); }
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 #54df2d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 223, 45, 10%) | #54df2d1a | |
rgb(84, 223, 45, 20%) | #54df2d33 | |
rgb(84, 223, 45, 40%) | #54df2d4C | |
rgb(84, 223, 45, 60%) | #54df2d99 | |
rgb(84, 223, 45, 80%) | #54df2dCC | |
rgb(84, 223, 45, 100%) | #54df2dFF |
Saturated and desaturated colors of #54df2d
HSL Code | Preview |
---|---|
hsl(107, 10%, 53%) | |
hsl(107, 20%, 53%) | |
hsl(107, 40%, 53%) | |
hsl(107, 60%, 53%) | |
hsl(107, 80%, 53%) | |
hsl(107, 100%, 53%) |
#54df2d Color Usage In CSS
body { color: #54df2d; } p { color: rgb(84, 223, 45); } header { border-bottom:1px solid #54df2d; }