#4bec8f Color
Color Codes | |
---|---|
Hex Code | #4bec8f |
RGB Code | rgb(75, 236, 143) |
HSL Code | hsl(145, 81%, 61%) |
#4bec8f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(75, 236, 143); }
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, 81%, 61%); }
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 #4bec8f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(75, 236, 143, 10%) | #4bec8f1a | |
rgb(75, 236, 143, 20%) | #4bec8f33 | |
rgb(75, 236, 143, 40%) | #4bec8f4C | |
rgb(75, 236, 143, 60%) | #4bec8f99 | |
rgb(75, 236, 143, 80%) | #4bec8fCC | |
rgb(75, 236, 143, 100%) | #4bec8fFF |
Saturated and desaturated colors of #4bec8f
HSL Code | Preview |
---|---|
hsl(145, 10%, 61%) | |
hsl(145, 20%, 61%) | |
hsl(145, 40%, 61%) | |
hsl(145, 60%, 61%) | |
hsl(145, 80%, 61%) | |
hsl(145, 100%, 61%) |
#4bec8f Color Usage In CSS
body { color: #4bec8f; } p { color: rgb(75, 236, 143); } header { border-bottom:1px solid #4bec8f; }