#d5592f Color
Color Codes | |
---|---|
Hex Code | #d5592f |
RGB Code | rgb(213, 89, 47) |
HSL Code | hsl(15, 66%, 51%) |
#d5592f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 89, 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(15, 66%, 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 #d5592f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 89, 47, 10%) | #d5592f1a | |
rgb(213, 89, 47, 20%) | #d5592f33 | |
rgb(213, 89, 47, 40%) | #d5592f4C | |
rgb(213, 89, 47, 60%) | #d5592f99 | |
rgb(213, 89, 47, 80%) | #d5592fCC | |
rgb(213, 89, 47, 100%) | #d5592fFF |
Saturated and desaturated colors of #d5592f
HSL Code | Preview |
---|---|
hsl(15, 10%, 51%) | |
hsl(15, 20%, 51%) | |
hsl(15, 40%, 51%) | |
hsl(15, 60%, 51%) | |
hsl(15, 80%, 51%) | |
hsl(15, 100%, 51%) |
#d5592f Color Usage In CSS
body { color: #d5592f; } p { color: rgb(213, 89, 47); } header { border-bottom:1px solid #d5592f; }