#9dbc57 Color
Color Codes | |
---|---|
Hex Code | #9dbc57 |
RGB Code | rgb(157, 188, 87) |
HSL Code | hsl(78, 43%, 54%) |
#9dbc57 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(157, 188, 87); }
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(78, 43%, 54%); }
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 #9dbc57
RGB Code | Hex Code | Preview |
---|---|---|
rgb(157, 188, 87, 10%) | #9dbc571a | |
rgb(157, 188, 87, 20%) | #9dbc5733 | |
rgb(157, 188, 87, 40%) | #9dbc574C | |
rgb(157, 188, 87, 60%) | #9dbc5799 | |
rgb(157, 188, 87, 80%) | #9dbc57CC | |
rgb(157, 188, 87, 100%) | #9dbc57FF |
Saturated and desaturated colors of #9dbc57
HSL Code | Preview |
---|---|
hsl(78, 10%, 54%) | |
hsl(78, 20%, 54%) | |
hsl(78, 40%, 54%) | |
hsl(78, 60%, 54%) | |
hsl(78, 80%, 54%) | |
hsl(78, 100%, 54%) |
#9dbc57 Color Usage In CSS
body { color: #9dbc57; } p { color: rgb(157, 188, 87); } header { border-bottom:1px solid #9dbc57; }