#d4c95a Color
Color Codes | |
---|---|
Hex Code | #d4c95a |
RGB Code | rgb(212, 201, 90) |
HSL Code | hsl(55, 59%, 59%) |
#d4c95a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 201, 90); }
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(55, 59%, 59%); }
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 #d4c95a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 201, 90, 10%) | #d4c95a1a | |
rgb(212, 201, 90, 20%) | #d4c95a33 | |
rgb(212, 201, 90, 40%) | #d4c95a4C | |
rgb(212, 201, 90, 60%) | #d4c95a99 | |
rgb(212, 201, 90, 80%) | #d4c95aCC | |
rgb(212, 201, 90, 100%) | #d4c95aFF |
Saturated and desaturated colors of #d4c95a
HSL Code | Preview |
---|---|
hsl(55, 10%, 59%) | |
hsl(55, 20%, 59%) | |
hsl(55, 40%, 59%) | |
hsl(55, 60%, 59%) | |
hsl(55, 80%, 59%) | |
hsl(55, 100%, 59%) |
#d4c95a Color Usage In CSS
body { color: #d4c95a; } p { color: rgb(212, 201, 90); } header { border-bottom:1px solid #d4c95a; }