#db8d2a Color
Color Codes | |
---|---|
Hex Code | #db8d2a |
RGB Code | rgb(219, 141, 42) |
HSL Code | hsl(34, 71%, 51%) |
#db8d2a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 141, 42); }
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(34, 71%, 51%); }
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 #db8d2a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 141, 42, 10%) | #db8d2a1a | |
rgb(219, 141, 42, 20%) | #db8d2a33 | |
rgb(219, 141, 42, 40%) | #db8d2a4C | |
rgb(219, 141, 42, 60%) | #db8d2a99 | |
rgb(219, 141, 42, 80%) | #db8d2aCC | |
rgb(219, 141, 42, 100%) | #db8d2aFF |
Saturated and desaturated colors of #db8d2a
HSL Code | Preview |
---|---|
hsl(34, 10%, 51%) | |
hsl(34, 20%, 51%) | |
hsl(34, 40%, 51%) | |
hsl(34, 60%, 51%) | |
hsl(34, 80%, 51%) | |
hsl(34, 100%, 51%) |
#db8d2a Color Usage In CSS
body { color: #db8d2a; } p { color: rgb(219, 141, 42); } header { border-bottom:1px solid #db8d2a; }