#3da00c Color
Color Codes | |
---|---|
Hex Code | #3da00c |
RGB Code | rgb(61, 160, 12) |
HSL Code | hsl(100, 86%, 34%) |
#3da00c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(61, 160, 12); }
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, 86%, 34%); }
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 #3da00c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(61, 160, 12, 10%) | #3da00c1a | |
rgb(61, 160, 12, 20%) | #3da00c33 | |
rgb(61, 160, 12, 40%) | #3da00c4C | |
rgb(61, 160, 12, 60%) | #3da00c99 | |
rgb(61, 160, 12, 80%) | #3da00cCC | |
rgb(61, 160, 12, 100%) | #3da00cFF |
Saturated and desaturated colors of #3da00c
HSL Code | Preview |
---|---|
hsl(100, 10%, 34%) | |
hsl(100, 20%, 34%) | |
hsl(100, 40%, 34%) | |
hsl(100, 60%, 34%) | |
hsl(100, 80%, 34%) | |
hsl(100, 100%, 34%) |
#3da00c Color Usage In CSS
body { color: #3da00c; } p { color: rgb(61, 160, 12); } header { border-bottom:1px solid #3da00c; }