#c888bd Color
Color Codes | |
---|---|
Hex Code | #c888bd |
RGB Code | rgb(200, 136, 189) |
HSL Code | hsl(310, 37%, 66%) |
#c888bd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 136, 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(310, 37%, 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 #c888bd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 136, 189, 10%) | #c888bd1a | |
rgb(200, 136, 189, 20%) | #c888bd33 | |
rgb(200, 136, 189, 40%) | #c888bd4C | |
rgb(200, 136, 189, 60%) | #c888bd99 | |
rgb(200, 136, 189, 80%) | #c888bdCC | |
rgb(200, 136, 189, 100%) | #c888bdFF |
Saturated and desaturated colors of #c888bd
HSL Code | Preview |
---|---|
hsl(310, 10%, 66%) | |
hsl(310, 20%, 66%) | |
hsl(310, 40%, 66%) | |
hsl(310, 60%, 66%) | |
hsl(310, 80%, 66%) | |
hsl(310, 100%, 66%) |
#c888bd Color Usage In CSS
body { color: #c888bd; } p { color: rgb(200, 136, 189); } header { border-bottom:1px solid #c888bd; }