#dd959a Color
Color Codes | |
---|---|
Hex Code | #dd959a |
RGB Code | rgb(221, 149, 154) |
HSL Code | hsl(356, 51%, 73%) |
#dd959a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 149, 154); }
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(356, 51%, 73%); }
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 #dd959a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 149, 154, 10%) | #dd959a1a | |
rgb(221, 149, 154, 20%) | #dd959a33 | |
rgb(221, 149, 154, 40%) | #dd959a4C | |
rgb(221, 149, 154, 60%) | #dd959a99 | |
rgb(221, 149, 154, 80%) | #dd959aCC | |
rgb(221, 149, 154, 100%) | #dd959aFF |
Saturated and desaturated colors of #dd959a
HSL Code | Preview |
---|---|
hsl(356, 10%, 73%) | |
hsl(356, 20%, 73%) | |
hsl(356, 40%, 73%) | |
hsl(356, 60%, 73%) | |
hsl(356, 80%, 73%) | |
hsl(356, 100%, 73%) |
#dd959a Color Usage In CSS
body { color: #dd959a; } p { color: rgb(221, 149, 154); } header { border-bottom:1px solid #dd959a; }