#ec034f Color
Color Codes | |
---|---|
Hex Code | #ec034f |
RGB Code | rgb(236, 03, 79) |
HSL Code | hsl(340, 97%, 47%) |
#ec034f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 03, 79); }
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(340, 97%, 47%); }
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 #ec034f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 03, 79, 10%) | #ec034f1a | |
rgb(236, 03, 79, 20%) | #ec034f33 | |
rgb(236, 03, 79, 40%) | #ec034f4C | |
rgb(236, 03, 79, 60%) | #ec034f99 | |
rgb(236, 03, 79, 80%) | #ec034fCC | |
rgb(236, 03, 79, 100%) | #ec034fFF |
Saturated and desaturated colors of #ec034f
HSL Code | Preview |
---|---|
hsl(340, 10%, 47%) | |
hsl(340, 20%, 47%) | |
hsl(340, 40%, 47%) | |
hsl(340, 60%, 47%) | |
hsl(340, 80%, 47%) | |
hsl(340, 100%, 47%) |
#ec034f Color Usage In CSS
body { color: #ec034f; } p { color: rgb(236, 03, 79); } header { border-bottom:1px solid #ec034f; }