#50cd12 Color
Color Codes | |
---|---|
Hex Code | #50cd12 |
RGB Code | rgb(80, 205, 18) |
HSL Code | hsl(100, 84%, 44%) |
#50cd12 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 205, 18); }
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(100, 84%, 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 #50cd12
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 205, 18, 10%) | #50cd121a | |
rgb(80, 205, 18, 20%) | #50cd1233 | |
rgb(80, 205, 18, 40%) | #50cd124C | |
rgb(80, 205, 18, 60%) | #50cd1299 | |
rgb(80, 205, 18, 80%) | #50cd12CC | |
rgb(80, 205, 18, 100%) | #50cd12FF |
Saturated and desaturated colors of #50cd12
HSL Code | Preview |
---|---|
hsl(100, 10%, 44%) | |
hsl(100, 20%, 44%) | |
hsl(100, 40%, 44%) | |
hsl(100, 60%, 44%) | |
hsl(100, 80%, 44%) | |
hsl(100, 100%, 44%) |
#50cd12 Color Usage In CSS
body { color: #50cd12; } p { color: rgb(80, 205, 18); } header { border-bottom:1px solid #50cd12; }