#c6b7d3 Color
Color Codes | |
---|---|
Hex Code | #c6b7d3 |
RGB Code | rgb(198, 183, 211) |
HSL Code | hsl(272, 24%, 77%) |
#c6b7d3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 183, 211); }
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(272, 24%, 77%); }
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 #c6b7d3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 183, 211, 10%) | #c6b7d31a | |
rgb(198, 183, 211, 20%) | #c6b7d333 | |
rgb(198, 183, 211, 40%) | #c6b7d34C | |
rgb(198, 183, 211, 60%) | #c6b7d399 | |
rgb(198, 183, 211, 80%) | #c6b7d3CC | |
rgb(198, 183, 211, 100%) | #c6b7d3FF |
Saturated and desaturated colors of #c6b7d3
HSL Code | Preview |
---|---|
hsl(272, 10%, 77%) | |
hsl(272, 20%, 77%) | |
hsl(272, 40%, 77%) | |
hsl(272, 60%, 77%) | |
hsl(272, 80%, 77%) | |
hsl(272, 100%, 77%) |
#c6b7d3 Color Usage In CSS
body { color: #c6b7d3; } p { color: rgb(198, 183, 211); } header { border-bottom:1px solid #c6b7d3; }