#d4c334 Color
Color Codes | |
---|---|
Hex Code | #d4c334 |
RGB Code | rgb(212, 195, 52) |
HSL Code | hsl(54, 65%, 52%) |
#d4c334 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 195, 52); }
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(54, 65%, 52%); }
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 #d4c334
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 195, 52, 10%) | #d4c3341a | |
rgb(212, 195, 52, 20%) | #d4c33433 | |
rgb(212, 195, 52, 40%) | #d4c3344C | |
rgb(212, 195, 52, 60%) | #d4c33499 | |
rgb(212, 195, 52, 80%) | #d4c334CC | |
rgb(212, 195, 52, 100%) | #d4c334FF |
Saturated and desaturated colors of #d4c334
HSL Code | Preview |
---|---|
hsl(54, 10%, 52%) | |
hsl(54, 20%, 52%) | |
hsl(54, 40%, 52%) | |
hsl(54, 60%, 52%) | |
hsl(54, 80%, 52%) | |
hsl(54, 100%, 52%) |
#d4c334 Color Usage In CSS
body { color: #d4c334; } p { color: rgb(212, 195, 52); } header { border-bottom:1px solid #d4c334; }