#ea5a2e Color
Color Codes | |
---|---|
Hex Code | #ea5a2e |
RGB Code | rgb(234, 90, 46) |
HSL Code | hsl(14, 82%, 55%) |
#ea5a2e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 90, 46); }
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(14, 82%, 55%); }
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 #ea5a2e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 90, 46, 10%) | #ea5a2e1a | |
rgb(234, 90, 46, 20%) | #ea5a2e33 | |
rgb(234, 90, 46, 40%) | #ea5a2e4C | |
rgb(234, 90, 46, 60%) | #ea5a2e99 | |
rgb(234, 90, 46, 80%) | #ea5a2eCC | |
rgb(234, 90, 46, 100%) | #ea5a2eFF |
Saturated and desaturated colors of #ea5a2e
HSL Code | Preview |
---|---|
hsl(14, 10%, 55%) | |
hsl(14, 20%, 55%) | |
hsl(14, 40%, 55%) | |
hsl(14, 60%, 55%) | |
hsl(14, 80%, 55%) | |
hsl(14, 100%, 55%) |
#ea5a2e Color Usage In CSS
body { color: #ea5a2e; } p { color: rgb(234, 90, 46); } header { border-bottom:1px solid #ea5a2e; }