#c4d873 Color
Color Codes | |
---|---|
Hex Code | #c4d873 |
RGB Code | rgb(196, 216, 115) |
HSL Code | hsl(72, 56%, 65%) |
#c4d873 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 216, 115); }
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(72, 56%, 65%); }
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 #c4d873
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 216, 115, 10%) | #c4d8731a | |
rgb(196, 216, 115, 20%) | #c4d87333 | |
rgb(196, 216, 115, 40%) | #c4d8734C | |
rgb(196, 216, 115, 60%) | #c4d87399 | |
rgb(196, 216, 115, 80%) | #c4d873CC | |
rgb(196, 216, 115, 100%) | #c4d873FF |
Saturated and desaturated colors of #c4d873
HSL Code | Preview |
---|---|
hsl(72, 10%, 65%) | |
hsl(72, 20%, 65%) | |
hsl(72, 40%, 65%) | |
hsl(72, 60%, 65%) | |
hsl(72, 80%, 65%) | |
hsl(72, 100%, 65%) |
#c4d873 Color Usage In CSS
body { color: #c4d873; } p { color: rgb(196, 216, 115); } header { border-bottom:1px solid #c4d873; }