#30a42b Color
Color Codes | |
---|---|
Hex Code | #30a42b |
RGB Code | rgb(48, 164, 43) |
HSL Code | hsl(118, 58%, 41%) |
#30a42b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(48, 164, 43); }
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(118, 58%, 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 #30a42b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(48, 164, 43, 10%) | #30a42b1a | |
rgb(48, 164, 43, 20%) | #30a42b33 | |
rgb(48, 164, 43, 40%) | #30a42b4C | |
rgb(48, 164, 43, 60%) | #30a42b99 | |
rgb(48, 164, 43, 80%) | #30a42bCC | |
rgb(48, 164, 43, 100%) | #30a42bFF |
Saturated and desaturated colors of #30a42b
HSL Code | Preview |
---|---|
hsl(118, 10%, 41%) | |
hsl(118, 20%, 41%) | |
hsl(118, 40%, 41%) | |
hsl(118, 60%, 41%) | |
hsl(118, 80%, 41%) | |
hsl(118, 100%, 41%) |
#30a42b Color Usage In CSS
body { color: #30a42b; } p { color: rgb(48, 164, 43); } header { border-bottom:1px solid #30a42b; }