#cd86bd Color
Color Codes | |
---|---|
Hex Code | #cd86bd |
RGB Code | rgb(205, 134, 189) |
HSL Code | hsl(314, 42%, 66%) |
#cd86bd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 134, 189); }
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(314, 42%, 66%); }
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 #cd86bd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 134, 189, 10%) | #cd86bd1a | |
rgb(205, 134, 189, 20%) | #cd86bd33 | |
rgb(205, 134, 189, 40%) | #cd86bd4C | |
rgb(205, 134, 189, 60%) | #cd86bd99 | |
rgb(205, 134, 189, 80%) | #cd86bdCC | |
rgb(205, 134, 189, 100%) | #cd86bdFF |
Saturated and desaturated colors of #cd86bd
HSL Code | Preview |
---|---|
hsl(314, 10%, 66%) | |
hsl(314, 20%, 66%) | |
hsl(314, 40%, 66%) | |
hsl(314, 60%, 66%) | |
hsl(314, 80%, 66%) | |
hsl(314, 100%, 66%) |
#cd86bd Color Usage In CSS
body { color: #cd86bd; } p { color: rgb(205, 134, 189); } header { border-bottom:1px solid #cd86bd; }