#3eac12 Color
Color Codes | |
---|---|
Hex Code | #3eac12 |
RGB Code | rgb(62, 172, 18) |
HSL Code | hsl(103, 81%, 37%) |
#3eac12 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 172, 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(103, 81%, 37%); }
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 #3eac12
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 172, 18, 10%) | #3eac121a | |
rgb(62, 172, 18, 20%) | #3eac1233 | |
rgb(62, 172, 18, 40%) | #3eac124C | |
rgb(62, 172, 18, 60%) | #3eac1299 | |
rgb(62, 172, 18, 80%) | #3eac12CC | |
rgb(62, 172, 18, 100%) | #3eac12FF |
Saturated and desaturated colors of #3eac12
HSL Code | Preview |
---|---|
hsl(103, 10%, 37%) | |
hsl(103, 20%, 37%) | |
hsl(103, 40%, 37%) | |
hsl(103, 60%, 37%) | |
hsl(103, 80%, 37%) | |
hsl(103, 100%, 37%) |
#3eac12 Color Usage In CSS
body { color: #3eac12; } p { color: rgb(62, 172, 18); } header { border-bottom:1px solid #3eac12; }