#d388db Color
Color Codes | |
---|---|
Hex Code | #d388db |
RGB Code | rgb(211, 136, 219) |
HSL Code | hsl(294, 54%, 70%) |
#d388db Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 136, 219); }
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(294, 54%, 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 #d388db
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 136, 219, 10%) | #d388db1a | |
rgb(211, 136, 219, 20%) | #d388db33 | |
rgb(211, 136, 219, 40%) | #d388db4C | |
rgb(211, 136, 219, 60%) | #d388db99 | |
rgb(211, 136, 219, 80%) | #d388dbCC | |
rgb(211, 136, 219, 100%) | #d388dbFF |
Saturated and desaturated colors of #d388db
HSL Code | Preview |
---|---|
hsl(294, 10%, 70%) | |
hsl(294, 20%, 70%) | |
hsl(294, 40%, 70%) | |
hsl(294, 60%, 70%) | |
hsl(294, 80%, 70%) | |
hsl(294, 100%, 70%) |
#d388db Color Usage In CSS
body { color: #d388db; } p { color: rgb(211, 136, 219); } header { border-bottom:1px solid #d388db; }