#dfb40d Color
Color Codes | |
---|---|
Hex Code | #dfb40d |
RGB Code | rgb(223, 180, 13) |
HSL Code | hsl(48, 89%, 46%) |
#dfb40d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 180, 13); }
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(48, 89%, 46%); }
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 #dfb40d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 180, 13, 10%) | #dfb40d1a | |
rgb(223, 180, 13, 20%) | #dfb40d33 | |
rgb(223, 180, 13, 40%) | #dfb40d4C | |
rgb(223, 180, 13, 60%) | #dfb40d99 | |
rgb(223, 180, 13, 80%) | #dfb40dCC | |
rgb(223, 180, 13, 100%) | #dfb40dFF |
Saturated and desaturated colors of #dfb40d
HSL Code | Preview |
---|---|
hsl(48, 10%, 46%) | |
hsl(48, 20%, 46%) | |
hsl(48, 40%, 46%) | |
hsl(48, 60%, 46%) | |
hsl(48, 80%, 46%) | |
hsl(48, 100%, 46%) |
#dfb40d Color Usage In CSS
body { color: #dfb40d; } p { color: rgb(223, 180, 13); } header { border-bottom:1px solid #dfb40d; }