#1e8e50 Color
Color Codes | |
---|---|
Hex Code | #1e8e50 |
RGB Code | rgb(30, 142, 80) |
HSL Code | hsl(147, 65%, 34%) |
#1e8e50 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(30, 142, 80); }
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(147, 65%, 34%); }
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 #1e8e50
RGB Code | Hex Code | Preview |
---|---|---|
rgb(30, 142, 80, 10%) | #1e8e501a | |
rgb(30, 142, 80, 20%) | #1e8e5033 | |
rgb(30, 142, 80, 40%) | #1e8e504C | |
rgb(30, 142, 80, 60%) | #1e8e5099 | |
rgb(30, 142, 80, 80%) | #1e8e50CC | |
rgb(30, 142, 80, 100%) | #1e8e50FF |
Saturated and desaturated colors of #1e8e50
HSL Code | Preview |
---|---|
hsl(147, 10%, 34%) | |
hsl(147, 20%, 34%) | |
hsl(147, 40%, 34%) | |
hsl(147, 60%, 34%) | |
hsl(147, 80%, 34%) | |
hsl(147, 100%, 34%) |
#1e8e50 Color Usage In CSS
body { color: #1e8e50; } p { color: rgb(30, 142, 80); } header { border-bottom:1px solid #1e8e50; }