#af9452 Color
Color Codes | |
---|---|
Hex Code | #af9452 |
RGB Code | rgb(175, 148, 82) |
HSL Code | hsl(43, 37%, 50%) |
#af9452 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 148, 82); }
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(43, 37%, 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 #af9452
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 148, 82, 10%) | #af94521a | |
rgb(175, 148, 82, 20%) | #af945233 | |
rgb(175, 148, 82, 40%) | #af94524C | |
rgb(175, 148, 82, 60%) | #af945299 | |
rgb(175, 148, 82, 80%) | #af9452CC | |
rgb(175, 148, 82, 100%) | #af9452FF |
Saturated and desaturated colors of #af9452
HSL Code | Preview |
---|---|
hsl(43, 10%, 50%) | |
hsl(43, 20%, 50%) | |
hsl(43, 40%, 50%) | |
hsl(43, 60%, 50%) | |
hsl(43, 80%, 50%) | |
hsl(43, 100%, 50%) |
#af9452 Color Usage In CSS
body { color: #af9452; } p { color: rgb(175, 148, 82); } header { border-bottom:1px solid #af9452; }