#ec1449 Color
Color Codes | |
---|---|
Hex Code | #ec1449 |
RGB Code | rgb(236, 20, 73) |
HSL Code | hsl(345, 85%, 50%) |
#ec1449 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 20, 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(345, 85%, 50%); }
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 #ec1449
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 20, 73, 10%) | #ec14491a | |
rgb(236, 20, 73, 20%) | #ec144933 | |
rgb(236, 20, 73, 40%) | #ec14494C | |
rgb(236, 20, 73, 60%) | #ec144999 | |
rgb(236, 20, 73, 80%) | #ec1449CC | |
rgb(236, 20, 73, 100%) | #ec1449FF |
Saturated and desaturated colors of #ec1449
HSL Code | Preview |
---|---|
hsl(345, 10%, 50%) | |
hsl(345, 20%, 50%) | |
hsl(345, 40%, 50%) | |
hsl(345, 60%, 50%) | |
hsl(345, 80%, 50%) | |
hsl(345, 100%, 50%) |
#ec1449 Color Usage In CSS
body { color: #ec1449; } p { color: rgb(236, 20, 73); } header { border-bottom:1px solid #ec1449; }