#dd86cb Color
Color Codes | |
---|---|
Hex Code | #dd86cb |
RGB Code | rgb(221, 134, 203) |
HSL Code | hsl(312, 56%, 70%) |
#dd86cb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 134, 203); }
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(312, 56%, 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 #dd86cb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 134, 203, 10%) | #dd86cb1a | |
rgb(221, 134, 203, 20%) | #dd86cb33 | |
rgb(221, 134, 203, 40%) | #dd86cb4C | |
rgb(221, 134, 203, 60%) | #dd86cb99 | |
rgb(221, 134, 203, 80%) | #dd86cbCC | |
rgb(221, 134, 203, 100%) | #dd86cbFF |
Saturated and desaturated colors of #dd86cb
HSL Code | Preview |
---|---|
hsl(312, 10%, 70%) | |
hsl(312, 20%, 70%) | |
hsl(312, 40%, 70%) | |
hsl(312, 60%, 70%) | |
hsl(312, 80%, 70%) | |
hsl(312, 100%, 70%) |
#dd86cb Color Usage In CSS
body { color: #dd86cb; } p { color: rgb(221, 134, 203); } header { border-bottom:1px solid #dd86cb; }