#c2d7b4 Color
Color Codes | |
---|---|
Hex Code | #c2d7b4 |
RGB Code | rgb(194, 215, 180) |
HSL Code | hsl(96, 30%, 77%) |
#c2d7b4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 215, 180); }
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(96, 30%, 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 #c2d7b4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 215, 180, 10%) | #c2d7b41a | |
rgb(194, 215, 180, 20%) | #c2d7b433 | |
rgb(194, 215, 180, 40%) | #c2d7b44C | |
rgb(194, 215, 180, 60%) | #c2d7b499 | |
rgb(194, 215, 180, 80%) | #c2d7b4CC | |
rgb(194, 215, 180, 100%) | #c2d7b4FF |
Saturated and desaturated colors of #c2d7b4
HSL Code | Preview |
---|---|
hsl(96, 10%, 77%) | |
hsl(96, 20%, 77%) | |
hsl(96, 40%, 77%) | |
hsl(96, 60%, 77%) | |
hsl(96, 80%, 77%) | |
hsl(96, 100%, 77%) |
#c2d7b4 Color Usage In CSS
body { color: #c2d7b4; } p { color: rgb(194, 215, 180); } header { border-bottom:1px solid #c2d7b4; }