#94a80a Color
Color Codes | |
---|---|
Hex Code | #94a80a |
RGB Code | rgb(148, 168, 10) |
HSL Code | hsl(68, 89%, 35%) |
#94a80a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(148, 168, 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(68, 89%, 35%); }
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 #94a80a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(148, 168, 10, 10%) | #94a80a1a | |
rgb(148, 168, 10, 20%) | #94a80a33 | |
rgb(148, 168, 10, 40%) | #94a80a4C | |
rgb(148, 168, 10, 60%) | #94a80a99 | |
rgb(148, 168, 10, 80%) | #94a80aCC | |
rgb(148, 168, 10, 100%) | #94a80aFF |
Saturated and desaturated colors of #94a80a
HSL Code | Preview |
---|---|
hsl(68, 10%, 35%) | |
hsl(68, 20%, 35%) | |
hsl(68, 40%, 35%) | |
hsl(68, 60%, 35%) | |
hsl(68, 80%, 35%) | |
hsl(68, 100%, 35%) |
#94a80a Color Usage In CSS
body { color: #94a80a; } p { color: rgb(148, 168, 10); } header { border-bottom:1px solid #94a80a; }