#9a6977 Color
Color Codes | |
---|---|
Hex Code | #9a6977 |
RGB Code | rgb(154, 105, 119) |
HSL Code | hsl(343, 20%, 51%) |
#9a6977 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(154, 105, 119); }
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(343, 20%, 51%); }
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 #9a6977
RGB Code | Hex Code | Preview |
---|---|---|
rgb(154, 105, 119, 10%) | #9a69771a | |
rgb(154, 105, 119, 20%) | #9a697733 | |
rgb(154, 105, 119, 40%) | #9a69774C | |
rgb(154, 105, 119, 60%) | #9a697799 | |
rgb(154, 105, 119, 80%) | #9a6977CC | |
rgb(154, 105, 119, 100%) | #9a6977FF |
Saturated and desaturated colors of #9a6977
HSL Code | Preview |
---|---|
hsl(343, 10%, 51%) | |
hsl(343, 20%, 51%) | |
hsl(343, 40%, 51%) | |
hsl(343, 60%, 51%) | |
hsl(343, 80%, 51%) | |
hsl(343, 100%, 51%) |
#9a6977 Color Usage In CSS
body { color: #9a6977; } p { color: rgb(154, 105, 119); } header { border-bottom:1px solid #9a6977; }