#d0c334 Color
Color Codes | |
---|---|
Hex Code | #d0c334 |
RGB Code | rgb(208, 195, 52) |
HSL Code | hsl(55, 62%, 51%) |
#d0c334 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(208, 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(55, 62%, 51%); }
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 #d0c334
RGB Code | Hex Code | Preview |
---|---|---|
rgb(208, 195, 52, 10%) | #d0c3341a | |
rgb(208, 195, 52, 20%) | #d0c33433 | |
rgb(208, 195, 52, 40%) | #d0c3344C | |
rgb(208, 195, 52, 60%) | #d0c33499 | |
rgb(208, 195, 52, 80%) | #d0c334CC | |
rgb(208, 195, 52, 100%) | #d0c334FF |
Saturated and desaturated colors of #d0c334
HSL Code | Preview |
---|---|
hsl(55, 10%, 51%) | |
hsl(55, 20%, 51%) | |
hsl(55, 40%, 51%) | |
hsl(55, 60%, 51%) | |
hsl(55, 80%, 51%) | |
hsl(55, 100%, 51%) |
#d0c334 Color Usage In CSS
body { color: #d0c334; } p { color: rgb(208, 195, 52); } header { border-bottom:1px solid #d0c334; }