#159d40 Color
Color Codes | |
---|---|
Hex Code | #159d40 |
RGB Code | rgb(21, 157, 64) |
HSL Code | hsl(139, 76%, 35%) |
#159d40 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 157, 64); }
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(139, 76%, 35%); }
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 #159d40
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 157, 64, 10%) | #159d401a | |
rgb(21, 157, 64, 20%) | #159d4033 | |
rgb(21, 157, 64, 40%) | #159d404C | |
rgb(21, 157, 64, 60%) | #159d4099 | |
rgb(21, 157, 64, 80%) | #159d40CC | |
rgb(21, 157, 64, 100%) | #159d40FF |
Saturated and desaturated colors of #159d40
HSL Code | Preview |
---|---|
hsl(139, 10%, 35%) | |
hsl(139, 20%, 35%) | |
hsl(139, 40%, 35%) | |
hsl(139, 60%, 35%) | |
hsl(139, 80%, 35%) | |
hsl(139, 100%, 35%) |
#159d40 Color Usage In CSS
body { color: #159d40; } p { color: rgb(21, 157, 64); } header { border-bottom:1px solid #159d40; }