#e2a318 Color
Color Codes | |
---|---|
Hex Code | #e2a318 |
RGB Code | rgb(226, 163, 24) |
HSL Code | hsl(41, 81%, 49%) |
#e2a318 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 163, 24); }
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, 81%, 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 #e2a318
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 163, 24, 10%) | #e2a3181a | |
rgb(226, 163, 24, 20%) | #e2a31833 | |
rgb(226, 163, 24, 40%) | #e2a3184C | |
rgb(226, 163, 24, 60%) | #e2a31899 | |
rgb(226, 163, 24, 80%) | #e2a318CC | |
rgb(226, 163, 24, 100%) | #e2a318FF |
Saturated and desaturated colors of #e2a318
HSL Code | Preview |
---|---|
hsl(41, 10%, 49%) | |
hsl(41, 20%, 49%) | |
hsl(41, 40%, 49%) | |
hsl(41, 60%, 49%) | |
hsl(41, 80%, 49%) | |
hsl(41, 100%, 49%) |
#e2a318 Color Usage In CSS
body { color: #e2a318; } p { color: rgb(226, 163, 24); } header { border-bottom:1px solid #e2a318; }