#2fab63 Color
Color Codes | |
---|---|
Hex Code | #2fab63 |
RGB Code | rgb(47, 171, 99) |
HSL Code | hsl(145, 57%, 43%) |
#2fab63 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(47, 171, 99); }
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(145, 57%, 43%); }
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 #2fab63
RGB Code | Hex Code | Preview |
---|---|---|
rgb(47, 171, 99, 10%) | #2fab631a | |
rgb(47, 171, 99, 20%) | #2fab6333 | |
rgb(47, 171, 99, 40%) | #2fab634C | |
rgb(47, 171, 99, 60%) | #2fab6399 | |
rgb(47, 171, 99, 80%) | #2fab63CC | |
rgb(47, 171, 99, 100%) | #2fab63FF |
Saturated and desaturated colors of #2fab63
HSL Code | Preview |
---|---|
hsl(145, 10%, 43%) | |
hsl(145, 20%, 43%) | |
hsl(145, 40%, 43%) | |
hsl(145, 60%, 43%) | |
hsl(145, 80%, 43%) | |
hsl(145, 100%, 43%) |
#2fab63 Color Usage In CSS
body { color: #2fab63; } p { color: rgb(47, 171, 99); } header { border-bottom:1px solid #2fab63; }