#f1159a Color
Color Codes | |
---|---|
Hex Code | #f1159a |
RGB Code | rgb(241, 21, 154) |
HSL Code | hsl(324, 89%, 51%) |
#f1159a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 21, 154); }
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(324, 89%, 51%); }
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 #f1159a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 21, 154, 10%) | #f1159a1a | |
rgb(241, 21, 154, 20%) | #f1159a33 | |
rgb(241, 21, 154, 40%) | #f1159a4C | |
rgb(241, 21, 154, 60%) | #f1159a99 | |
rgb(241, 21, 154, 80%) | #f1159aCC | |
rgb(241, 21, 154, 100%) | #f1159aFF |
Saturated and desaturated colors of #f1159a
HSL Code | Preview |
---|---|
hsl(324, 10%, 51%) | |
hsl(324, 20%, 51%) | |
hsl(324, 40%, 51%) | |
hsl(324, 60%, 51%) | |
hsl(324, 80%, 51%) | |
hsl(324, 100%, 51%) |
#f1159a Color Usage In CSS
body { color: #f1159a; } p { color: rgb(241, 21, 154); } header { border-bottom:1px solid #f1159a; }