#c0fa89 Color
Color Codes | |
---|---|
Hex Code | #c0fa89 |
RGB Code | rgb(192, 250, 137) |
HSL Code | hsl(91, 92%, 76%) |
#c0fa89 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 250, 137); }
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(91, 92%, 76%); }
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 #c0fa89
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 250, 137, 10%) | #c0fa891a | |
rgb(192, 250, 137, 20%) | #c0fa8933 | |
rgb(192, 250, 137, 40%) | #c0fa894C | |
rgb(192, 250, 137, 60%) | #c0fa8999 | |
rgb(192, 250, 137, 80%) | #c0fa89CC | |
rgb(192, 250, 137, 100%) | #c0fa89FF |
Saturated and desaturated colors of #c0fa89
HSL Code | Preview |
---|---|
hsl(91, 10%, 76%) | |
hsl(91, 20%, 76%) | |
hsl(91, 40%, 76%) | |
hsl(91, 60%, 76%) | |
hsl(91, 80%, 76%) | |
hsl(91, 100%, 76%) |
#c0fa89 Color Usage In CSS
body { color: #c0fa89; } p { color: rgb(192, 250, 137); } header { border-bottom:1px solid #c0fa89; }