#afc609 Color
Color Codes | |
---|---|
Hex Code | #afc609 |
RGB Code | rgb(175, 198, 09) |
HSL Code | hsl(67, 91%, 41%) |
#afc609 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 198, 09); }
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(67, 91%, 41%); }
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 #afc609
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 198, 09, 10%) | #afc6091a | |
rgb(175, 198, 09, 20%) | #afc60933 | |
rgb(175, 198, 09, 40%) | #afc6094C | |
rgb(175, 198, 09, 60%) | #afc60999 | |
rgb(175, 198, 09, 80%) | #afc609CC | |
rgb(175, 198, 09, 100%) | #afc609FF |
Saturated and desaturated colors of #afc609
HSL Code | Preview |
---|---|
hsl(67, 10%, 41%) | |
hsl(67, 20%, 41%) | |
hsl(67, 40%, 41%) | |
hsl(67, 60%, 41%) | |
hsl(67, 80%, 41%) | |
hsl(67, 100%, 41%) |
#afc609 Color Usage In CSS
body { color: #afc609; } p { color: rgb(175, 198, 09); } header { border-bottom:1px solid #afc609; }