#afbb3f Color
Color Codes | |
---|---|
Hex Code | #afbb3f |
RGB Code | rgb(175, 187, 63) |
HSL Code | hsl(66, 50%, 49%) |
#afbb3f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 187, 63); }
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(66, 50%, 49%); }
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 #afbb3f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 187, 63, 10%) | #afbb3f1a | |
rgb(175, 187, 63, 20%) | #afbb3f33 | |
rgb(175, 187, 63, 40%) | #afbb3f4C | |
rgb(175, 187, 63, 60%) | #afbb3f99 | |
rgb(175, 187, 63, 80%) | #afbb3fCC | |
rgb(175, 187, 63, 100%) | #afbb3fFF |
Saturated and desaturated colors of #afbb3f
HSL Code | Preview |
---|---|
hsl(66, 10%, 49%) | |
hsl(66, 20%, 49%) | |
hsl(66, 40%, 49%) | |
hsl(66, 60%, 49%) | |
hsl(66, 80%, 49%) | |
hsl(66, 100%, 49%) |
#afbb3f Color Usage In CSS
body { color: #afbb3f; } p { color: rgb(175, 187, 63); } header { border-bottom:1px solid #afbb3f; }