#54b987 Color
Color Codes | |
---|---|
Hex Code | #54b987 |
RGB Code | rgb(84, 185, 135) |
HSL Code | hsl(150, 42%, 53%) |
#54b987 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 185, 135); }
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(150, 42%, 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 #54b987
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 185, 135, 10%) | #54b9871a | |
rgb(84, 185, 135, 20%) | #54b98733 | |
rgb(84, 185, 135, 40%) | #54b9874C | |
rgb(84, 185, 135, 60%) | #54b98799 | |
rgb(84, 185, 135, 80%) | #54b987CC | |
rgb(84, 185, 135, 100%) | #54b987FF |
Saturated and desaturated colors of #54b987
HSL Code | Preview |
---|---|
hsl(150, 10%, 53%) | |
hsl(150, 20%, 53%) | |
hsl(150, 40%, 53%) | |
hsl(150, 60%, 53%) | |
hsl(150, 80%, 53%) | |
hsl(150, 100%, 53%) |
#54b987 Color Usage In CSS
body { color: #54b987; } p { color: rgb(84, 185, 135); } header { border-bottom:1px solid #54b987; }