#30ab28 Color
Color Codes | |
---|---|
Hex Code | #30ab28 |
RGB Code | rgb(48, 171, 40) |
HSL Code | hsl(116, 62%, 41%) |
#30ab28 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(48, 171, 40); }
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(116, 62%, 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 #30ab28
RGB Code | Hex Code | Preview |
---|---|---|
rgb(48, 171, 40, 10%) | #30ab281a | |
rgb(48, 171, 40, 20%) | #30ab2833 | |
rgb(48, 171, 40, 40%) | #30ab284C | |
rgb(48, 171, 40, 60%) | #30ab2899 | |
rgb(48, 171, 40, 80%) | #30ab28CC | |
rgb(48, 171, 40, 100%) | #30ab28FF |
Saturated and desaturated colors of #30ab28
HSL Code | Preview |
---|---|
hsl(116, 10%, 41%) | |
hsl(116, 20%, 41%) | |
hsl(116, 40%, 41%) | |
hsl(116, 60%, 41%) | |
hsl(116, 80%, 41%) | |
hsl(116, 100%, 41%) |
#30ab28 Color Usage In CSS
body { color: #30ab28; } p { color: rgb(48, 171, 40); } header { border-bottom:1px solid #30ab28; }