#509882 Color
Color Codes | |
---|---|
Hex Code | #509882 |
RGB Code | rgb(80, 152, 130) |
HSL Code | hsl(162, 31%, 45%) |
#509882 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 152, 130); }
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(162, 31%, 45%); }
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 #509882
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 152, 130, 10%) | #5098821a | |
rgb(80, 152, 130, 20%) | #50988233 | |
rgb(80, 152, 130, 40%) | #5098824C | |
rgb(80, 152, 130, 60%) | #50988299 | |
rgb(80, 152, 130, 80%) | #509882CC | |
rgb(80, 152, 130, 100%) | #509882FF |
Saturated and desaturated colors of #509882
HSL Code | Preview |
---|---|
hsl(162, 10%, 45%) | |
hsl(162, 20%, 45%) | |
hsl(162, 40%, 45%) | |
hsl(162, 60%, 45%) | |
hsl(162, 80%, 45%) | |
hsl(162, 100%, 45%) |
#509882 Color Usage In CSS
body { color: #509882; } p { color: rgb(80, 152, 130); } header { border-bottom:1px solid #509882; }