#c2bec5 Color
Color Codes | |
---|---|
Hex Code | #c2bec5 |
RGB Code | rgb(194, 190, 197) |
HSL Code | hsl(274, 6%, 76%) |
#c2bec5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 190, 197); }
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(274, 6%, 76%); }
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 #c2bec5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 190, 197, 10%) | #c2bec51a | |
rgb(194, 190, 197, 20%) | #c2bec533 | |
rgb(194, 190, 197, 40%) | #c2bec54C | |
rgb(194, 190, 197, 60%) | #c2bec599 | |
rgb(194, 190, 197, 80%) | #c2bec5CC | |
rgb(194, 190, 197, 100%) | #c2bec5FF |
Saturated and desaturated colors of #c2bec5
HSL Code | Preview |
---|---|
hsl(274, 10%, 76%) | |
hsl(274, 20%, 76%) | |
hsl(274, 40%, 76%) | |
hsl(274, 60%, 76%) | |
hsl(274, 80%, 76%) | |
hsl(274, 100%, 76%) |
#c2bec5 Color Usage In CSS
body { color: #c2bec5; } p { color: rgb(194, 190, 197); } header { border-bottom:1px solid #c2bec5; }