#dfc75c Color
Color Codes | |
---|---|
Hex Code | #dfc75c |
RGB Code | rgb(223, 199, 92) |
HSL Code | hsl(49, 67%, 62%) |
#dfc75c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 199, 92); }
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(49, 67%, 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 #dfc75c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 199, 92, 10%) | #dfc75c1a | |
rgb(223, 199, 92, 20%) | #dfc75c33 | |
rgb(223, 199, 92, 40%) | #dfc75c4C | |
rgb(223, 199, 92, 60%) | #dfc75c99 | |
rgb(223, 199, 92, 80%) | #dfc75cCC | |
rgb(223, 199, 92, 100%) | #dfc75cFF |
Saturated and desaturated colors of #dfc75c
HSL Code | Preview |
---|---|
hsl(49, 10%, 62%) | |
hsl(49, 20%, 62%) | |
hsl(49, 40%, 62%) | |
hsl(49, 60%, 62%) | |
hsl(49, 80%, 62%) | |
hsl(49, 100%, 62%) |
#dfc75c Color Usage In CSS
body { color: #dfc75c; } p { color: rgb(223, 199, 92); } header { border-bottom:1px solid #dfc75c; }