#30b268 Color
Color Codes | |
---|---|
Hex Code | #30b268 |
RGB Code | rgb(48, 178, 104) |
HSL Code | hsl(146, 58%, 44%) |
#30b268 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(48, 178, 104); }
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(146, 58%, 44%); }
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 #30b268
RGB Code | Hex Code | Preview |
---|---|---|
rgb(48, 178, 104, 10%) | #30b2681a | |
rgb(48, 178, 104, 20%) | #30b26833 | |
rgb(48, 178, 104, 40%) | #30b2684C | |
rgb(48, 178, 104, 60%) | #30b26899 | |
rgb(48, 178, 104, 80%) | #30b268CC | |
rgb(48, 178, 104, 100%) | #30b268FF |
Saturated and desaturated colors of #30b268
HSL Code | Preview |
---|---|
hsl(146, 10%, 44%) | |
hsl(146, 20%, 44%) | |
hsl(146, 40%, 44%) | |
hsl(146, 60%, 44%) | |
hsl(146, 80%, 44%) | |
hsl(146, 100%, 44%) |
#30b268 Color Usage In CSS
body { color: #30b268; } p { color: rgb(48, 178, 104); } header { border-bottom:1px solid #30b268; }