#affa8f Color
Color Codes | |
---|---|
Hex Code | #affa8f |
RGB Code | rgb(175, 250, 143) |
HSL Code | hsl(102, 91%, 77%) |
#affa8f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 250, 143); }
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, 91%, 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 #affa8f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 250, 143, 10%) | #affa8f1a | |
rgb(175, 250, 143, 20%) | #affa8f33 | |
rgb(175, 250, 143, 40%) | #affa8f4C | |
rgb(175, 250, 143, 60%) | #affa8f99 | |
rgb(175, 250, 143, 80%) | #affa8fCC | |
rgb(175, 250, 143, 100%) | #affa8fFF |
Saturated and desaturated colors of #affa8f
HSL Code | Preview |
---|---|
hsl(102, 10%, 77%) | |
hsl(102, 20%, 77%) | |
hsl(102, 40%, 77%) | |
hsl(102, 60%, 77%) | |
hsl(102, 80%, 77%) | |
hsl(102, 100%, 77%) |
#affa8f Color Usage In CSS
body { color: #affa8f; } p { color: rgb(175, 250, 143); } header { border-bottom:1px solid #affa8f; }