#3c500a Color
Color Codes | |
---|---|
Hex Code | #3c500a |
RGB Code | rgb(60, 80, 10) |
HSL Code | hsl(77, 78%, 18%) |
#3c500a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(60, 80, 10); }
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(77, 78%, 18%); }
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 #3c500a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(60, 80, 10, 10%) | #3c500a1a | |
rgb(60, 80, 10, 20%) | #3c500a33 | |
rgb(60, 80, 10, 40%) | #3c500a4C | |
rgb(60, 80, 10, 60%) | #3c500a99 | |
rgb(60, 80, 10, 80%) | #3c500aCC | |
rgb(60, 80, 10, 100%) | #3c500aFF |
Saturated and desaturated colors of #3c500a
HSL Code | Preview |
---|---|
hsl(77, 10%, 18%) | |
hsl(77, 20%, 18%) | |
hsl(77, 40%, 18%) | |
hsl(77, 60%, 18%) | |
hsl(77, 80%, 18%) | |
hsl(77, 100%, 18%) |
#3c500a Color Usage In CSS
body { color: #3c500a; } p { color: rgb(60, 80, 10); } header { border-bottom:1px solid #3c500a; }