#f1008d Color
Color Codes | |
---|---|
Hex Code | #f1008d |
RGB Code | rgb(241, 00, 141) |
HSL Code | hsl(325, 100%, 47%) |
#f1008d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 00, 141); }
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(325, 100%, 47%); }
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 #f1008d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 00, 141, 10%) | #f1008d1a | |
rgb(241, 00, 141, 20%) | #f1008d33 | |
rgb(241, 00, 141, 40%) | #f1008d4C | |
rgb(241, 00, 141, 60%) | #f1008d99 | |
rgb(241, 00, 141, 80%) | #f1008dCC | |
rgb(241, 00, 141, 100%) | #f1008dFF |
Saturated and desaturated colors of #f1008d
HSL Code | Preview |
---|---|
hsl(325, 10%, 47%) | |
hsl(325, 20%, 47%) | |
hsl(325, 40%, 47%) | |
hsl(325, 60%, 47%) | |
hsl(325, 80%, 47%) | |
hsl(325, 100%, 47%) |
#f1008d Color Usage In CSS
body { color: #f1008d; } p { color: rgb(241, 00, 141); } header { border-bottom:1px solid #f1008d; }