#dfc748 Color
Color Codes | |
---|---|
Hex Code | #dfc748 |
RGB Code | rgb(223, 199, 72) |
HSL Code | hsl(50, 70%, 58%) |
#dfc748 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 199, 72); }
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(50, 70%, 58%); }
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 #dfc748
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 199, 72, 10%) | #dfc7481a | |
rgb(223, 199, 72, 20%) | #dfc74833 | |
rgb(223, 199, 72, 40%) | #dfc7484C | |
rgb(223, 199, 72, 60%) | #dfc74899 | |
rgb(223, 199, 72, 80%) | #dfc748CC | |
rgb(223, 199, 72, 100%) | #dfc748FF |
Saturated and desaturated colors of #dfc748
HSL Code | Preview |
---|---|
hsl(50, 10%, 58%) | |
hsl(50, 20%, 58%) | |
hsl(50, 40%, 58%) | |
hsl(50, 60%, 58%) | |
hsl(50, 80%, 58%) | |
hsl(50, 100%, 58%) |
#dfc748 Color Usage In CSS
body { color: #dfc748; } p { color: rgb(223, 199, 72); } header { border-bottom:1px solid #dfc748; }