#9f9705 Color
Color Codes | |
---|---|
Hex Code | #9f9705 |
RGB Code | rgb(159, 151, 05) |
HSL Code | hsl(57, 94%, 32%) |
#9f9705 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 151, 05); }
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(57, 94%, 32%); }
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 #9f9705
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 151, 05, 10%) | #9f97051a | |
rgb(159, 151, 05, 20%) | #9f970533 | |
rgb(159, 151, 05, 40%) | #9f97054C | |
rgb(159, 151, 05, 60%) | #9f970599 | |
rgb(159, 151, 05, 80%) | #9f9705CC | |
rgb(159, 151, 05, 100%) | #9f9705FF |
Saturated and desaturated colors of #9f9705
HSL Code | Preview |
---|---|
hsl(57, 10%, 32%) | |
hsl(57, 20%, 32%) | |
hsl(57, 40%, 32%) | |
hsl(57, 60%, 32%) | |
hsl(57, 80%, 32%) | |
hsl(57, 100%, 32%) |
#9f9705 Color Usage In CSS
body { color: #9f9705; } p { color: rgb(159, 151, 05); } header { border-bottom:1px solid #9f9705; }