#c7f698 Color
Color Codes | |
---|---|
Hex Code | #c7f698 |
RGB Code | rgb(199, 246, 152) |
HSL Code | hsl(90, 84%, 78%) |
#c7f698 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 246, 152); }
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(90, 84%, 78%); }
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 #c7f698
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 246, 152, 10%) | #c7f6981a | |
rgb(199, 246, 152, 20%) | #c7f69833 | |
rgb(199, 246, 152, 40%) | #c7f6984C | |
rgb(199, 246, 152, 60%) | #c7f69899 | |
rgb(199, 246, 152, 80%) | #c7f698CC | |
rgb(199, 246, 152, 100%) | #c7f698FF |
Saturated and desaturated colors of #c7f698
HSL Code | Preview |
---|---|
hsl(90, 10%, 78%) | |
hsl(90, 20%, 78%) | |
hsl(90, 40%, 78%) | |
hsl(90, 60%, 78%) | |
hsl(90, 80%, 78%) | |
hsl(90, 100%, 78%) |
#c7f698 Color Usage In CSS
body { color: #c7f698; } p { color: rgb(199, 246, 152); } header { border-bottom:1px solid #c7f698; }