#ab691f Color
Color Codes | |
---|---|
Hex Code | #ab691f |
RGB Code | rgb(171, 105, 31) |
HSL Code | hsl(32, 69%, 40%) |
#ab691f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 105, 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(32, 69%, 40%); }
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 #ab691f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 105, 31, 10%) | #ab691f1a | |
rgb(171, 105, 31, 20%) | #ab691f33 | |
rgb(171, 105, 31, 40%) | #ab691f4C | |
rgb(171, 105, 31, 60%) | #ab691f99 | |
rgb(171, 105, 31, 80%) | #ab691fCC | |
rgb(171, 105, 31, 100%) | #ab691fFF |
Saturated and desaturated colors of #ab691f
HSL Code | Preview |
---|---|
hsl(32, 10%, 40%) | |
hsl(32, 20%, 40%) | |
hsl(32, 40%, 40%) | |
hsl(32, 60%, 40%) | |
hsl(32, 80%, 40%) | |
hsl(32, 100%, 40%) |
#ab691f Color Usage In CSS
body { color: #ab691f; } p { color: rgb(171, 105, 31); } header { border-bottom:1px solid #ab691f; }