#40a829 Color
Color Codes | |
---|---|
Hex Code | #40a829 |
RGB Code | rgb(64, 168, 41) |
HSL Code | hsl(109, 61%, 41%) |
#40a829 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 168, 41); }
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(109, 61%, 41%); }
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 #40a829
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 168, 41, 10%) | #40a8291a | |
rgb(64, 168, 41, 20%) | #40a82933 | |
rgb(64, 168, 41, 40%) | #40a8294C | |
rgb(64, 168, 41, 60%) | #40a82999 | |
rgb(64, 168, 41, 80%) | #40a829CC | |
rgb(64, 168, 41, 100%) | #40a829FF |
Saturated and desaturated colors of #40a829
HSL Code | Preview |
---|---|
hsl(109, 10%, 41%) | |
hsl(109, 20%, 41%) | |
hsl(109, 40%, 41%) | |
hsl(109, 60%, 41%) | |
hsl(109, 80%, 41%) | |
hsl(109, 100%, 41%) |
#40a829 Color Usage In CSS
body { color: #40a829; } p { color: rgb(64, 168, 41); } header { border-bottom:1px solid #40a829; }