#e1284c Color
Color Codes | |
---|---|
Hex Code | #e1284c |
RGB Code | rgb(225, 40, 76) |
HSL Code | hsl(348, 76%, 52%) |
#e1284c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(225, 40, 76); }
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(348, 76%, 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 #e1284c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(225, 40, 76, 10%) | #e1284c1a | |
rgb(225, 40, 76, 20%) | #e1284c33 | |
rgb(225, 40, 76, 40%) | #e1284c4C | |
rgb(225, 40, 76, 60%) | #e1284c99 | |
rgb(225, 40, 76, 80%) | #e1284cCC | |
rgb(225, 40, 76, 100%) | #e1284cFF |
Saturated and desaturated colors of #e1284c
HSL Code | Preview |
---|---|
hsl(348, 10%, 52%) | |
hsl(348, 20%, 52%) | |
hsl(348, 40%, 52%) | |
hsl(348, 60%, 52%) | |
hsl(348, 80%, 52%) | |
hsl(348, 100%, 52%) |
#e1284c Color Usage In CSS
body { color: #e1284c; } p { color: rgb(225, 40, 76); } header { border-bottom:1px solid #e1284c; }