#e151f7 Color
Color Codes | |
---|---|
Hex Code | #e151f7 |
RGB Code | rgb(225, 81, 247) |
HSL Code | hsl(292, 91%, 64%) |
#e151f7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(225, 81, 247); }
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(292, 91%, 64%); }
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 #e151f7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(225, 81, 247, 10%) | #e151f71a | |
rgb(225, 81, 247, 20%) | #e151f733 | |
rgb(225, 81, 247, 40%) | #e151f74C | |
rgb(225, 81, 247, 60%) | #e151f799 | |
rgb(225, 81, 247, 80%) | #e151f7CC | |
rgb(225, 81, 247, 100%) | #e151f7FF |
Saturated and desaturated colors of #e151f7
HSL Code | Preview |
---|---|
hsl(292, 10%, 64%) | |
hsl(292, 20%, 64%) | |
hsl(292, 40%, 64%) | |
hsl(292, 60%, 64%) | |
hsl(292, 80%, 64%) | |
hsl(292, 100%, 64%) |
#e151f7 Color Usage In CSS
body { color: #e151f7; } p { color: rgb(225, 81, 247); } header { border-bottom:1px solid #e151f7; }