#dfd041 Color
Color Codes | |
---|---|
Hex Code | #dfd041 |
RGB Code | rgb(223, 208, 65) |
HSL Code | hsl(54, 71%, 56%) |
#dfd041 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 208, 65); }
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, 71%, 56%); }
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 #dfd041
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 208, 65, 10%) | #dfd0411a | |
rgb(223, 208, 65, 20%) | #dfd04133 | |
rgb(223, 208, 65, 40%) | #dfd0414C | |
rgb(223, 208, 65, 60%) | #dfd04199 | |
rgb(223, 208, 65, 80%) | #dfd041CC | |
rgb(223, 208, 65, 100%) | #dfd041FF |
Saturated and desaturated colors of #dfd041
HSL Code | Preview |
---|---|
hsl(54, 10%, 56%) | |
hsl(54, 20%, 56%) | |
hsl(54, 40%, 56%) | |
hsl(54, 60%, 56%) | |
hsl(54, 80%, 56%) | |
hsl(54, 100%, 56%) |
#dfd041 Color Usage In CSS
body { color: #dfd041; } p { color: rgb(223, 208, 65); } header { border-bottom:1px solid #dfd041; }