#ec0776 Color
Color Codes | |
---|---|
Hex Code | #ec0776 |
RGB Code | rgb(236, 07, 118) |
HSL Code | hsl(331, 94%, 48%) |
#ec0776 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 07, 118); }
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(331, 94%, 48%); }
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 #ec0776
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 07, 118, 10%) | #ec07761a | |
rgb(236, 07, 118, 20%) | #ec077633 | |
rgb(236, 07, 118, 40%) | #ec07764C | |
rgb(236, 07, 118, 60%) | #ec077699 | |
rgb(236, 07, 118, 80%) | #ec0776CC | |
rgb(236, 07, 118, 100%) | #ec0776FF |
Saturated and desaturated colors of #ec0776
HSL Code | Preview |
---|---|
hsl(331, 10%, 48%) | |
hsl(331, 20%, 48%) | |
hsl(331, 40%, 48%) | |
hsl(331, 60%, 48%) | |
hsl(331, 80%, 48%) | |
hsl(331, 100%, 48%) |
#ec0776 Color Usage In CSS
body { color: #ec0776; } p { color: rgb(236, 07, 118); } header { border-bottom:1px solid #ec0776; }