#eaa20c Color
Color Codes | |
---|---|
Hex Code | #eaa20c |
RGB Code | rgb(234, 162, 12) |
HSL Code | hsl(41, 90%, 48%) |
#eaa20c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 162, 12); }
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(41, 90%, 48%); }
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 #eaa20c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 162, 12, 10%) | #eaa20c1a | |
rgb(234, 162, 12, 20%) | #eaa20c33 | |
rgb(234, 162, 12, 40%) | #eaa20c4C | |
rgb(234, 162, 12, 60%) | #eaa20c99 | |
rgb(234, 162, 12, 80%) | #eaa20cCC | |
rgb(234, 162, 12, 100%) | #eaa20cFF |
Saturated and desaturated colors of #eaa20c
HSL Code | Preview |
---|---|
hsl(41, 10%, 48%) | |
hsl(41, 20%, 48%) | |
hsl(41, 40%, 48%) | |
hsl(41, 60%, 48%) | |
hsl(41, 80%, 48%) | |
hsl(41, 100%, 48%) |
#eaa20c Color Usage In CSS
body { color: #eaa20c; } p { color: rgb(234, 162, 12); } header { border-bottom:1px solid #eaa20c; }