#ec1ce0 Color
Color Codes | |
---|---|
Hex Code | #ec1ce0 |
RGB Code | rgb(236, 28, 224) |
HSL Code | hsl(303, 85%, 52%) |
#ec1ce0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 28, 224); }
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(303, 85%, 52%); }
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 #ec1ce0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 28, 224, 10%) | #ec1ce01a | |
rgb(236, 28, 224, 20%) | #ec1ce033 | |
rgb(236, 28, 224, 40%) | #ec1ce04C | |
rgb(236, 28, 224, 60%) | #ec1ce099 | |
rgb(236, 28, 224, 80%) | #ec1ce0CC | |
rgb(236, 28, 224, 100%) | #ec1ce0FF |
Saturated and desaturated colors of #ec1ce0
HSL Code | Preview |
---|---|
hsl(303, 10%, 52%) | |
hsl(303, 20%, 52%) | |
hsl(303, 40%, 52%) | |
hsl(303, 60%, 52%) | |
hsl(303, 80%, 52%) | |
hsl(303, 100%, 52%) |
#ec1ce0 Color Usage In CSS
body { color: #ec1ce0; } p { color: rgb(236, 28, 224); } header { border-bottom:1px solid #ec1ce0; }