#a0cf8c Color
Color Codes | |
---|---|
Hex Code | #a0cf8c |
RGB Code | rgb(160, 207, 140) |
HSL Code | hsl(102, 41%, 68%) |
#a0cf8c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 207, 140); }
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(102, 41%, 68%); }
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 #a0cf8c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 207, 140, 10%) | #a0cf8c1a | |
rgb(160, 207, 140, 20%) | #a0cf8c33 | |
rgb(160, 207, 140, 40%) | #a0cf8c4C | |
rgb(160, 207, 140, 60%) | #a0cf8c99 | |
rgb(160, 207, 140, 80%) | #a0cf8cCC | |
rgb(160, 207, 140, 100%) | #a0cf8cFF |
Saturated and desaturated colors of #a0cf8c
HSL Code | Preview |
---|---|
hsl(102, 10%, 68%) | |
hsl(102, 20%, 68%) | |
hsl(102, 40%, 68%) | |
hsl(102, 60%, 68%) | |
hsl(102, 80%, 68%) | |
hsl(102, 100%, 68%) |
#a0cf8c Color Usage In CSS
body { color: #a0cf8c; } p { color: rgb(160, 207, 140); } header { border-bottom:1px solid #a0cf8c; }