#d9895f Color
Color Codes | |
---|---|
Hex Code | #d9895f |
RGB Code | rgb(217, 137, 95) |
HSL Code | hsl(21, 62%, 61%) |
#d9895f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 137, 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(21, 62%, 61%); }
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 #d9895f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 137, 95, 10%) | #d9895f1a | |
rgb(217, 137, 95, 20%) | #d9895f33 | |
rgb(217, 137, 95, 40%) | #d9895f4C | |
rgb(217, 137, 95, 60%) | #d9895f99 | |
rgb(217, 137, 95, 80%) | #d9895fCC | |
rgb(217, 137, 95, 100%) | #d9895fFF |
Saturated and desaturated colors of #d9895f
HSL Code | Preview |
---|---|
hsl(21, 10%, 61%) | |
hsl(21, 20%, 61%) | |
hsl(21, 40%, 61%) | |
hsl(21, 60%, 61%) | |
hsl(21, 80%, 61%) | |
hsl(21, 100%, 61%) |
#d9895f Color Usage In CSS
body { color: #d9895f; } p { color: rgb(217, 137, 95); } header { border-bottom:1px solid #d9895f; }