#cb84b5 Color
Color Codes | |
---|---|
Hex Code | #cb84b5 |
RGB Code | rgb(203, 132, 181) |
HSL Code | hsl(319, 41%, 66%) |
#cb84b5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 132, 181); }
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(319, 41%, 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 #cb84b5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 132, 181, 10%) | #cb84b51a | |
rgb(203, 132, 181, 20%) | #cb84b533 | |
rgb(203, 132, 181, 40%) | #cb84b54C | |
rgb(203, 132, 181, 60%) | #cb84b599 | |
rgb(203, 132, 181, 80%) | #cb84b5CC | |
rgb(203, 132, 181, 100%) | #cb84b5FF |
Saturated and desaturated colors of #cb84b5
HSL Code | Preview |
---|---|
hsl(319, 10%, 66%) | |
hsl(319, 20%, 66%) | |
hsl(319, 40%, 66%) | |
hsl(319, 60%, 66%) | |
hsl(319, 80%, 66%) | |
hsl(319, 100%, 66%) |
#cb84b5 Color Usage In CSS
body { color: #cb84b5; } p { color: rgb(203, 132, 181); } header { border-bottom:1px solid #cb84b5; }