#54b460 Color
Color Codes | |
---|---|
Hex Code | #54b460 |
RGB Code | rgb(84, 180, 96) |
HSL Code | hsl(128, 39%, 52%) |
#54b460 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 180, 96); }
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(128, 39%, 52%); }
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 #54b460
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 180, 96, 10%) | #54b4601a | |
rgb(84, 180, 96, 20%) | #54b46033 | |
rgb(84, 180, 96, 40%) | #54b4604C | |
rgb(84, 180, 96, 60%) | #54b46099 | |
rgb(84, 180, 96, 80%) | #54b460CC | |
rgb(84, 180, 96, 100%) | #54b460FF |
Saturated and desaturated colors of #54b460
HSL Code | Preview |
---|---|
hsl(128, 10%, 52%) | |
hsl(128, 20%, 52%) | |
hsl(128, 40%, 52%) | |
hsl(128, 60%, 52%) | |
hsl(128, 80%, 52%) | |
hsl(128, 100%, 52%) |
#54b460 Color Usage In CSS
body { color: #54b460; } p { color: rgb(84, 180, 96); } header { border-bottom:1px solid #54b460; }