#cb7cc0 Color
Color Codes | |
---|---|
Hex Code | #cb7cc0 |
RGB Code | rgb(203, 124, 192) |
HSL Code | hsl(308, 43%, 64%) |
#cb7cc0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 124, 192); }
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(308, 43%, 64%); }
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 #cb7cc0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 124, 192, 10%) | #cb7cc01a | |
rgb(203, 124, 192, 20%) | #cb7cc033 | |
rgb(203, 124, 192, 40%) | #cb7cc04C | |
rgb(203, 124, 192, 60%) | #cb7cc099 | |
rgb(203, 124, 192, 80%) | #cb7cc0CC | |
rgb(203, 124, 192, 100%) | #cb7cc0FF |
Saturated and desaturated colors of #cb7cc0
HSL Code | Preview |
---|---|
hsl(308, 10%, 64%) | |
hsl(308, 20%, 64%) | |
hsl(308, 40%, 64%) | |
hsl(308, 60%, 64%) | |
hsl(308, 80%, 64%) | |
hsl(308, 100%, 64%) |
#cb7cc0 Color Usage In CSS
body { color: #cb7cc0; } p { color: rgb(203, 124, 192); } header { border-bottom:1px solid #cb7cc0; }