#ab5f38 Color
Color Codes | |
---|---|
Hex Code | #ab5f38 |
RGB Code | rgb(171, 95, 56) |
HSL Code | hsl(20, 51%, 45%) |
#ab5f38 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 95, 56); }
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(20, 51%, 45%); }
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 #ab5f38
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 95, 56, 10%) | #ab5f381a | |
rgb(171, 95, 56, 20%) | #ab5f3833 | |
rgb(171, 95, 56, 40%) | #ab5f384C | |
rgb(171, 95, 56, 60%) | #ab5f3899 | |
rgb(171, 95, 56, 80%) | #ab5f38CC | |
rgb(171, 95, 56, 100%) | #ab5f38FF |
Saturated and desaturated colors of #ab5f38
HSL Code | Preview |
---|---|
hsl(20, 10%, 45%) | |
hsl(20, 20%, 45%) | |
hsl(20, 40%, 45%) | |
hsl(20, 60%, 45%) | |
hsl(20, 80%, 45%) | |
hsl(20, 100%, 45%) |
#ab5f38 Color Usage In CSS
body { color: #ab5f38; } p { color: rgb(171, 95, 56); } header { border-bottom:1px solid #ab5f38; }