#54d45e Color
Color Codes | |
---|---|
Hex Code | #54d45e |
RGB Code | rgb(84, 212, 94) |
HSL Code | hsl(125, 60%, 58%) |
#54d45e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 212, 94); }
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(125, 60%, 58%); }
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 #54d45e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 212, 94, 10%) | #54d45e1a | |
rgb(84, 212, 94, 20%) | #54d45e33 | |
rgb(84, 212, 94, 40%) | #54d45e4C | |
rgb(84, 212, 94, 60%) | #54d45e99 | |
rgb(84, 212, 94, 80%) | #54d45eCC | |
rgb(84, 212, 94, 100%) | #54d45eFF |
Saturated and desaturated colors of #54d45e
HSL Code | Preview |
---|---|
hsl(125, 10%, 58%) | |
hsl(125, 20%, 58%) | |
hsl(125, 40%, 58%) | |
hsl(125, 60%, 58%) | |
hsl(125, 80%, 58%) | |
hsl(125, 100%, 58%) |
#54d45e Color Usage In CSS
body { color: #54d45e; } p { color: rgb(84, 212, 94); } header { border-bottom:1px solid #54d45e; }