#dfca7a Color
Color Codes | |
---|---|
Hex Code | #dfca7a |
RGB Code | rgb(223, 202, 122) |
HSL Code | hsl(48, 61%, 68%) |
#dfca7a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(223, 202, 122); }
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, 61%, 68%); }
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 #dfca7a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(223, 202, 122, 10%) | #dfca7a1a | |
rgb(223, 202, 122, 20%) | #dfca7a33 | |
rgb(223, 202, 122, 40%) | #dfca7a4C | |
rgb(223, 202, 122, 60%) | #dfca7a99 | |
rgb(223, 202, 122, 80%) | #dfca7aCC | |
rgb(223, 202, 122, 100%) | #dfca7aFF |
Saturated and desaturated colors of #dfca7a
HSL Code | Preview |
---|---|
hsl(48, 10%, 68%) | |
hsl(48, 20%, 68%) | |
hsl(48, 40%, 68%) | |
hsl(48, 60%, 68%) | |
hsl(48, 80%, 68%) | |
hsl(48, 100%, 68%) |
#dfca7a Color Usage In CSS
body { color: #dfca7a; } p { color: rgb(223, 202, 122); } header { border-bottom:1px solid #dfca7a; }