#9f9060 Color
Color Codes | |
---|---|
Hex Code | #9f9060 |
RGB Code | rgb(159, 144, 96) |
HSL Code | hsl(46, 25%, 50%) |
#9f9060 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 144, 96); }
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(46, 25%, 50%); }
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 #9f9060
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 144, 96, 10%) | #9f90601a | |
rgb(159, 144, 96, 20%) | #9f906033 | |
rgb(159, 144, 96, 40%) | #9f90604C | |
rgb(159, 144, 96, 60%) | #9f906099 | |
rgb(159, 144, 96, 80%) | #9f9060CC | |
rgb(159, 144, 96, 100%) | #9f9060FF |
Saturated and desaturated colors of #9f9060
HSL Code | Preview |
---|---|
hsl(46, 10%, 50%) | |
hsl(46, 20%, 50%) | |
hsl(46, 40%, 50%) | |
hsl(46, 60%, 50%) | |
hsl(46, 80%, 50%) | |
hsl(46, 100%, 50%) |
#9f9060 Color Usage In CSS
body { color: #9f9060; } p { color: rgb(159, 144, 96); } header { border-bottom:1px solid #9f9060; }