#d8d164 Color
Color Codes | |
---|---|
Hex Code | #d8d164 |
RGB Code | rgb(216, 209, 100) |
HSL Code | hsl(56, 60%, 62%) |
#d8d164 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 209, 100); }
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(56, 60%, 62%); }
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 #d8d164
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 209, 100, 10%) | #d8d1641a | |
rgb(216, 209, 100, 20%) | #d8d16433 | |
rgb(216, 209, 100, 40%) | #d8d1644C | |
rgb(216, 209, 100, 60%) | #d8d16499 | |
rgb(216, 209, 100, 80%) | #d8d164CC | |
rgb(216, 209, 100, 100%) | #d8d164FF |
Saturated and desaturated colors of #d8d164
HSL Code | Preview |
---|---|
hsl(56, 10%, 62%) | |
hsl(56, 20%, 62%) | |
hsl(56, 40%, 62%) | |
hsl(56, 60%, 62%) | |
hsl(56, 80%, 62%) | |
hsl(56, 100%, 62%) |
#d8d164 Color Usage In CSS
body { color: #d8d164; } p { color: rgb(216, 209, 100); } header { border-bottom:1px solid #d8d164; }