#e74c49 Color
Color Codes | |
---|---|
Hex Code | #e74c49 |
RGB Code | rgb(231, 76, 73) |
HSL Code | hsl(1, 77%, 60%) |
#e74c49 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(231, 76, 73); }
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(1, 77%, 60%); }
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 #e74c49
RGB Code | Hex Code | Preview |
---|---|---|
rgb(231, 76, 73, 10%) | #e74c491a | |
rgb(231, 76, 73, 20%) | #e74c4933 | |
rgb(231, 76, 73, 40%) | #e74c494C | |
rgb(231, 76, 73, 60%) | #e74c4999 | |
rgb(231, 76, 73, 80%) | #e74c49CC | |
rgb(231, 76, 73, 100%) | #e74c49FF |
Saturated and desaturated colors of #e74c49
HSL Code | Preview |
---|---|
hsl(1, 10%, 60%) | |
hsl(1, 20%, 60%) | |
hsl(1, 40%, 60%) | |
hsl(1, 60%, 60%) | |
hsl(1, 80%, 60%) | |
hsl(1, 100%, 60%) |
#e74c49 Color Usage In CSS
body { color: #e74c49; } p { color: rgb(231, 76, 73); } header { border-bottom:1px solid #e74c49; }