#eb1b49 Color
Color Codes | |
---|---|
Hex Code | #eb1b49 |
RGB Code | rgb(235, 27, 73) |
HSL Code | hsl(347, 84%, 51%) |
#eb1b49 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 27, 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(347, 84%, 51%); }
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 #eb1b49
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 27, 73, 10%) | #eb1b491a | |
rgb(235, 27, 73, 20%) | #eb1b4933 | |
rgb(235, 27, 73, 40%) | #eb1b494C | |
rgb(235, 27, 73, 60%) | #eb1b4999 | |
rgb(235, 27, 73, 80%) | #eb1b49CC | |
rgb(235, 27, 73, 100%) | #eb1b49FF |
Saturated and desaturated colors of #eb1b49
HSL Code | Preview |
---|---|
hsl(347, 10%, 51%) | |
hsl(347, 20%, 51%) | |
hsl(347, 40%, 51%) | |
hsl(347, 60%, 51%) | |
hsl(347, 80%, 51%) | |
hsl(347, 100%, 51%) |
#eb1b49 Color Usage In CSS
body { color: #eb1b49; } p { color: rgb(235, 27, 73); } header { border-bottom:1px solid #eb1b49; }