#d78f2f Color
Color Codes | |
---|---|
Hex Code | #d78f2f |
RGB Code | rgb(215, 143, 47) |
HSL Code | hsl(34, 68%, 51%) |
#d78f2f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 143, 47); }
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(34, 68%, 51%); }
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 #d78f2f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 143, 47, 10%) | #d78f2f1a | |
rgb(215, 143, 47, 20%) | #d78f2f33 | |
rgb(215, 143, 47, 40%) | #d78f2f4C | |
rgb(215, 143, 47, 60%) | #d78f2f99 | |
rgb(215, 143, 47, 80%) | #d78f2fCC | |
rgb(215, 143, 47, 100%) | #d78f2fFF |
Saturated and desaturated colors of #d78f2f
HSL Code | Preview |
---|---|
hsl(34, 10%, 51%) | |
hsl(34, 20%, 51%) | |
hsl(34, 40%, 51%) | |
hsl(34, 60%, 51%) | |
hsl(34, 80%, 51%) | |
hsl(34, 100%, 51%) |
#d78f2f Color Usage In CSS
body { color: #d78f2f; } p { color: rgb(215, 143, 47); } header { border-bottom:1px solid #d78f2f; }