#d8b598 Color
Color Codes | |
---|---|
Hex Code | #d8b598 |
RGB Code | rgb(216, 181, 152) |
HSL Code | hsl(27, 45%, 72%) |
#d8b598 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 181, 152); }
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(27, 45%, 72%); }
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 #d8b598
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 181, 152, 10%) | #d8b5981a | |
rgb(216, 181, 152, 20%) | #d8b59833 | |
rgb(216, 181, 152, 40%) | #d8b5984C | |
rgb(216, 181, 152, 60%) | #d8b59899 | |
rgb(216, 181, 152, 80%) | #d8b598CC | |
rgb(216, 181, 152, 100%) | #d8b598FF |
Saturated and desaturated colors of #d8b598
HSL Code | Preview |
---|---|
hsl(27, 10%, 72%) | |
hsl(27, 20%, 72%) | |
hsl(27, 40%, 72%) | |
hsl(27, 60%, 72%) | |
hsl(27, 80%, 72%) | |
hsl(27, 100%, 72%) |
#d8b598 Color Usage In CSS
body { color: #d8b598; } p { color: rgb(216, 181, 152); } header { border-bottom:1px solid #d8b598; }