#ec15a8 Color
Color Codes | |
---|---|
Hex Code | #ec15a8 |
RGB Code | rgb(236, 21, 168) |
HSL Code | hsl(319, 85%, 50%) |
#ec15a8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 21, 168); }
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(319, 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 #ec15a8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 21, 168, 10%) | #ec15a81a | |
rgb(236, 21, 168, 20%) | #ec15a833 | |
rgb(236, 21, 168, 40%) | #ec15a84C | |
rgb(236, 21, 168, 60%) | #ec15a899 | |
rgb(236, 21, 168, 80%) | #ec15a8CC | |
rgb(236, 21, 168, 100%) | #ec15a8FF |
Saturated and desaturated colors of #ec15a8
HSL Code | Preview |
---|---|
hsl(319, 10%, 50%) | |
hsl(319, 20%, 50%) | |
hsl(319, 40%, 50%) | |
hsl(319, 60%, 50%) | |
hsl(319, 80%, 50%) | |
hsl(319, 100%, 50%) |
#ec15a8 Color Usage In CSS
body { color: #ec15a8; } p { color: rgb(236, 21, 168); } header { border-bottom:1px solid #ec15a8; }