#db8ba2 Color
Color Codes | |
---|---|
Hex Code | #db8ba2 |
RGB Code | rgb(219, 139, 162) |
HSL Code | hsl(343, 53%, 70%) |
#db8ba2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(219, 139, 162); }
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(343, 53%, 70%); }
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 #db8ba2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(219, 139, 162, 10%) | #db8ba21a | |
rgb(219, 139, 162, 20%) | #db8ba233 | |
rgb(219, 139, 162, 40%) | #db8ba24C | |
rgb(219, 139, 162, 60%) | #db8ba299 | |
rgb(219, 139, 162, 80%) | #db8ba2CC | |
rgb(219, 139, 162, 100%) | #db8ba2FF |
Saturated and desaturated colors of #db8ba2
HSL Code | Preview |
---|---|
hsl(343, 10%, 70%) | |
hsl(343, 20%, 70%) | |
hsl(343, 40%, 70%) | |
hsl(343, 60%, 70%) | |
hsl(343, 80%, 70%) | |
hsl(343, 100%, 70%) |
#db8ba2 Color Usage In CSS
body { color: #db8ba2; } p { color: rgb(219, 139, 162); } header { border-bottom:1px solid #db8ba2; }