#2bc04c Color
Color Codes | |
---|---|
Hex Code | #2bc04c |
RGB Code | rgb(43, 192, 76) |
HSL Code | hsl(133, 63%, 46%) |
#2bc04c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(43, 192, 76); }
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(133, 63%, 46%); }
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 #2bc04c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(43, 192, 76, 10%) | #2bc04c1a | |
rgb(43, 192, 76, 20%) | #2bc04c33 | |
rgb(43, 192, 76, 40%) | #2bc04c4C | |
rgb(43, 192, 76, 60%) | #2bc04c99 | |
rgb(43, 192, 76, 80%) | #2bc04cCC | |
rgb(43, 192, 76, 100%) | #2bc04cFF |
Saturated and desaturated colors of #2bc04c
HSL Code | Preview |
---|---|
hsl(133, 10%, 46%) | |
hsl(133, 20%, 46%) | |
hsl(133, 40%, 46%) | |
hsl(133, 60%, 46%) | |
hsl(133, 80%, 46%) | |
hsl(133, 100%, 46%) |
#2bc04c Color Usage In CSS
body { color: #2bc04c; } p { color: rgb(43, 192, 76); } header { border-bottom:1px solid #2bc04c; }