#af5016 Color
Color Codes | |
---|---|
Hex Code | #af5016 |
RGB Code | rgb(175, 80, 22) |
HSL Code | hsl(23, 78%, 39%) |
#af5016 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 80, 22); }
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(23, 78%, 39%); }
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 #af5016
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 80, 22, 10%) | #af50161a | |
rgb(175, 80, 22, 20%) | #af501633 | |
rgb(175, 80, 22, 40%) | #af50164C | |
rgb(175, 80, 22, 60%) | #af501699 | |
rgb(175, 80, 22, 80%) | #af5016CC | |
rgb(175, 80, 22, 100%) | #af5016FF |
Saturated and desaturated colors of #af5016
HSL Code | Preview |
---|---|
hsl(23, 10%, 39%) | |
hsl(23, 20%, 39%) | |
hsl(23, 40%, 39%) | |
hsl(23, 60%, 39%) | |
hsl(23, 80%, 39%) | |
hsl(23, 100%, 39%) |
#af5016 Color Usage In CSS
body { color: #af5016; } p { color: rgb(175, 80, 22); } header { border-bottom:1px solid #af5016; }