#eaa217 Color
Color Codes | |
---|---|
Hex Code | #eaa217 |
RGB Code | rgb(234, 162, 23) |
HSL Code | hsl(40, 83%, 50%) |
#eaa217 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 162, 23); }
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(40, 83%, 50%); }
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 #eaa217
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 162, 23, 10%) | #eaa2171a | |
rgb(234, 162, 23, 20%) | #eaa21733 | |
rgb(234, 162, 23, 40%) | #eaa2174C | |
rgb(234, 162, 23, 60%) | #eaa21799 | |
rgb(234, 162, 23, 80%) | #eaa217CC | |
rgb(234, 162, 23, 100%) | #eaa217FF |
Saturated and desaturated colors of #eaa217
HSL Code | Preview |
---|---|
hsl(40, 10%, 50%) | |
hsl(40, 20%, 50%) | |
hsl(40, 40%, 50%) | |
hsl(40, 60%, 50%) | |
hsl(40, 80%, 50%) | |
hsl(40, 100%, 50%) |
#eaa217 Color Usage In CSS
body { color: #eaa217; } p { color: rgb(234, 162, 23); } header { border-bottom:1px solid #eaa217; }