#46ab32 Color
Color Codes | |
---|---|
Hex Code | #46ab32 |
RGB Code | rgb(70, 171, 50) |
HSL Code | hsl(110, 55%, 43%) |
#46ab32 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(70, 171, 50); }
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(110, 55%, 43%); }
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 #46ab32
RGB Code | Hex Code | Preview |
---|---|---|
rgb(70, 171, 50, 10%) | #46ab321a | |
rgb(70, 171, 50, 20%) | #46ab3233 | |
rgb(70, 171, 50, 40%) | #46ab324C | |
rgb(70, 171, 50, 60%) | #46ab3299 | |
rgb(70, 171, 50, 80%) | #46ab32CC | |
rgb(70, 171, 50, 100%) | #46ab32FF |
Saturated and desaturated colors of #46ab32
HSL Code | Preview |
---|---|
hsl(110, 10%, 43%) | |
hsl(110, 20%, 43%) | |
hsl(110, 40%, 43%) | |
hsl(110, 60%, 43%) | |
hsl(110, 80%, 43%) | |
hsl(110, 100%, 43%) |
#46ab32 Color Usage In CSS
body { color: #46ab32; } p { color: rgb(70, 171, 50); } header { border-bottom:1px solid #46ab32; }