#54f38a Color
Color Codes | |
---|---|
Hex Code | #54f38a |
RGB Code | rgb(84, 243, 138) |
HSL Code | hsl(140, 87%, 64%) |
#54f38a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 243, 138); }
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(140, 87%, 64%); }
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 #54f38a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 243, 138, 10%) | #54f38a1a | |
rgb(84, 243, 138, 20%) | #54f38a33 | |
rgb(84, 243, 138, 40%) | #54f38a4C | |
rgb(84, 243, 138, 60%) | #54f38a99 | |
rgb(84, 243, 138, 80%) | #54f38aCC | |
rgb(84, 243, 138, 100%) | #54f38aFF |
Saturated and desaturated colors of #54f38a
HSL Code | Preview |
---|---|
hsl(140, 10%, 64%) | |
hsl(140, 20%, 64%) | |
hsl(140, 40%, 64%) | |
hsl(140, 60%, 64%) | |
hsl(140, 80%, 64%) | |
hsl(140, 100%, 64%) |
#54f38a Color Usage In CSS
body { color: #54f38a; } p { color: rgb(84, 243, 138); } header { border-bottom:1px solid #54f38a; }