#d96158 Color
Color Codes | |
---|---|
Hex Code | #d96158 |
RGB Code | rgb(217, 97, 88) |
HSL Code | hsl(4, 63%, 60%) |
#d96158 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 97, 88); }
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(4, 63%, 60%); }
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 #d96158
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 97, 88, 10%) | #d961581a | |
rgb(217, 97, 88, 20%) | #d9615833 | |
rgb(217, 97, 88, 40%) | #d961584C | |
rgb(217, 97, 88, 60%) | #d9615899 | |
rgb(217, 97, 88, 80%) | #d96158CC | |
rgb(217, 97, 88, 100%) | #d96158FF |
Saturated and desaturated colors of #d96158
HSL Code | Preview |
---|---|
hsl(4, 10%, 60%) | |
hsl(4, 20%, 60%) | |
hsl(4, 40%, 60%) | |
hsl(4, 60%, 60%) | |
hsl(4, 80%, 60%) | |
hsl(4, 100%, 60%) |
#d96158 Color Usage In CSS
body { color: #d96158; } p { color: rgb(217, 97, 88); } header { border-bottom:1px solid #d96158; }