#af5b5f Color
Color Codes | |
---|---|
Hex Code | #af5b5f |
RGB Code | rgb(175, 91, 95) |
HSL Code | hsl(357, 34%, 52%) |
#af5b5f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 91, 95); }
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(357, 34%, 52%); }
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 #af5b5f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 91, 95, 10%) | #af5b5f1a | |
rgb(175, 91, 95, 20%) | #af5b5f33 | |
rgb(175, 91, 95, 40%) | #af5b5f4C | |
rgb(175, 91, 95, 60%) | #af5b5f99 | |
rgb(175, 91, 95, 80%) | #af5b5fCC | |
rgb(175, 91, 95, 100%) | #af5b5fFF |
Saturated and desaturated colors of #af5b5f
HSL Code | Preview |
---|---|
hsl(357, 10%, 52%) | |
hsl(357, 20%, 52%) | |
hsl(357, 40%, 52%) | |
hsl(357, 60%, 52%) | |
hsl(357, 80%, 52%) | |
hsl(357, 100%, 52%) |
#af5b5f Color Usage In CSS
body { color: #af5b5f; } p { color: rgb(175, 91, 95); } header { border-bottom:1px solid #af5b5f; }