#2cc830 Color
Color Codes | |
---|---|
Hex Code | #2cc830 |
RGB Code | rgb(44, 200, 48) |
HSL Code | hsl(122, 64%, 48%) |
#2cc830 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(44, 200, 48); }
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(122, 64%, 48%); }
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 #2cc830
RGB Code | Hex Code | Preview |
---|---|---|
rgb(44, 200, 48, 10%) | #2cc8301a | |
rgb(44, 200, 48, 20%) | #2cc83033 | |
rgb(44, 200, 48, 40%) | #2cc8304C | |
rgb(44, 200, 48, 60%) | #2cc83099 | |
rgb(44, 200, 48, 80%) | #2cc830CC | |
rgb(44, 200, 48, 100%) | #2cc830FF |
Saturated and desaturated colors of #2cc830
HSL Code | Preview |
---|---|
hsl(122, 10%, 48%) | |
hsl(122, 20%, 48%) | |
hsl(122, 40%, 48%) | |
hsl(122, 60%, 48%) | |
hsl(122, 80%, 48%) | |
hsl(122, 100%, 48%) |
#2cc830 Color Usage In CSS
body { color: #2cc830; } p { color: rgb(44, 200, 48); } header { border-bottom:1px solid #2cc830; }