#e54960 Color
Color Codes | |
---|---|
Hex Code | #e54960 |
RGB Code | rgb(229, 73, 96) |
HSL Code | hsl(351, 75%, 59%) |
#e54960 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(229, 73, 96); }
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(351, 75%, 59%); }
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 #e54960
RGB Code | Hex Code | Preview |
---|---|---|
rgb(229, 73, 96, 10%) | #e549601a | |
rgb(229, 73, 96, 20%) | #e5496033 | |
rgb(229, 73, 96, 40%) | #e549604C | |
rgb(229, 73, 96, 60%) | #e5496099 | |
rgb(229, 73, 96, 80%) | #e54960CC | |
rgb(229, 73, 96, 100%) | #e54960FF |
Saturated and desaturated colors of #e54960
HSL Code | Preview |
---|---|
hsl(351, 10%, 59%) | |
hsl(351, 20%, 59%) | |
hsl(351, 40%, 59%) | |
hsl(351, 60%, 59%) | |
hsl(351, 80%, 59%) | |
hsl(351, 100%, 59%) |
#e54960 Color Usage In CSS
body { color: #e54960; } p { color: rgb(229, 73, 96); } header { border-bottom:1px solid #e54960; }