#94991f Color
Color Codes | |
---|---|
Hex Code | #94991f |
RGB Code | rgb(148, 153, 31) |
HSL Code | hsl(62, 66%, 36%) |
#94991f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(148, 153, 31); }
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(62, 66%, 36%); }
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 #94991f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(148, 153, 31, 10%) | #94991f1a | |
rgb(148, 153, 31, 20%) | #94991f33 | |
rgb(148, 153, 31, 40%) | #94991f4C | |
rgb(148, 153, 31, 60%) | #94991f99 | |
rgb(148, 153, 31, 80%) | #94991fCC | |
rgb(148, 153, 31, 100%) | #94991fFF |
Saturated and desaturated colors of #94991f
HSL Code | Preview |
---|---|
hsl(62, 10%, 36%) | |
hsl(62, 20%, 36%) | |
hsl(62, 40%, 36%) | |
hsl(62, 60%, 36%) | |
hsl(62, 80%, 36%) | |
hsl(62, 100%, 36%) |
#94991f Color Usage In CSS
body { color: #94991f; } p { color: rgb(148, 153, 31); } header { border-bottom:1px solid #94991f; }