#d57915 Color
Color Codes | |
---|---|
Hex Code | #d57915 |
RGB Code | rgb(213, 121, 21) |
HSL Code | hsl(31, 82%, 46%) |
#d57915 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 121, 21); }
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(31, 82%, 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 #d57915
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 121, 21, 10%) | #d579151a | |
rgb(213, 121, 21, 20%) | #d5791533 | |
rgb(213, 121, 21, 40%) | #d579154C | |
rgb(213, 121, 21, 60%) | #d5791599 | |
rgb(213, 121, 21, 80%) | #d57915CC | |
rgb(213, 121, 21, 100%) | #d57915FF |
Saturated and desaturated colors of #d57915
HSL Code | Preview |
---|---|
hsl(31, 10%, 46%) | |
hsl(31, 20%, 46%) | |
hsl(31, 40%, 46%) | |
hsl(31, 60%, 46%) | |
hsl(31, 80%, 46%) | |
hsl(31, 100%, 46%) |
#d57915 Color Usage In CSS
body { color: #d57915; } p { color: rgb(213, 121, 21); } header { border-bottom:1px solid #d57915; }