#f91efa Color
Color Codes | |
---|---|
Hex Code | #f91efa |
RGB Code | rgb(249, 30, 250) |
HSL Code | hsl(300, 96%, 55%) |
#f91efa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 30, 250); }
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(300, 96%, 55%); }
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 #f91efa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 30, 250, 10%) | #f91efa1a | |
rgb(249, 30, 250, 20%) | #f91efa33 | |
rgb(249, 30, 250, 40%) | #f91efa4C | |
rgb(249, 30, 250, 60%) | #f91efa99 | |
rgb(249, 30, 250, 80%) | #f91efaCC | |
rgb(249, 30, 250, 100%) | #f91efaFF |
Saturated and desaturated colors of #f91efa
HSL Code | Preview |
---|---|
hsl(300, 10%, 55%) | |
hsl(300, 20%, 55%) | |
hsl(300, 40%, 55%) | |
hsl(300, 60%, 55%) | |
hsl(300, 80%, 55%) | |
hsl(300, 100%, 55%) |
#f91efa Color Usage In CSS
body { color: #f91efa; } p { color: rgb(249, 30, 250); } header { border-bottom:1px solid #f91efa; }