#e148d1 Color
Color Codes | |
---|---|
Hex Code | #e148d1 |
RGB Code | rgb(225, 72, 209) |
HSL Code | hsl(306, 72%, 58%) |
#e148d1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(225, 72, 209); }
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(306, 72%, 58%); }
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 #e148d1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(225, 72, 209, 10%) | #e148d11a | |
rgb(225, 72, 209, 20%) | #e148d133 | |
rgb(225, 72, 209, 40%) | #e148d14C | |
rgb(225, 72, 209, 60%) | #e148d199 | |
rgb(225, 72, 209, 80%) | #e148d1CC | |
rgb(225, 72, 209, 100%) | #e148d1FF |
Saturated and desaturated colors of #e148d1
HSL Code | Preview |
---|---|
hsl(306, 10%, 58%) | |
hsl(306, 20%, 58%) | |
hsl(306, 40%, 58%) | |
hsl(306, 60%, 58%) | |
hsl(306, 80%, 58%) | |
hsl(306, 100%, 58%) |
#e148d1 Color Usage In CSS
body { color: #e148d1; } p { color: rgb(225, 72, 209); } header { border-bottom:1px solid #e148d1; }