#41ad1a Color
Color Codes | |
---|---|
Hex Code | #41ad1a |
RGB Code | rgb(65, 173, 26) |
HSL Code | hsl(104, 74%, 39%) |
#41ad1a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(65, 173, 26); }
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(104, 74%, 39%); }
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 #41ad1a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(65, 173, 26, 10%) | #41ad1a1a | |
rgb(65, 173, 26, 20%) | #41ad1a33 | |
rgb(65, 173, 26, 40%) | #41ad1a4C | |
rgb(65, 173, 26, 60%) | #41ad1a99 | |
rgb(65, 173, 26, 80%) | #41ad1aCC | |
rgb(65, 173, 26, 100%) | #41ad1aFF |
Saturated and desaturated colors of #41ad1a
HSL Code | Preview |
---|---|
hsl(104, 10%, 39%) | |
hsl(104, 20%, 39%) | |
hsl(104, 40%, 39%) | |
hsl(104, 60%, 39%) | |
hsl(104, 80%, 39%) | |
hsl(104, 100%, 39%) |
#41ad1a Color Usage In CSS
body { color: #41ad1a; } p { color: rgb(65, 173, 26); } header { border-bottom:1px solid #41ad1a; }