#f81a95 Color
Color Codes | |
---|---|
Hex Code | #f81a95 |
RGB Code | rgb(248, 26, 149) |
HSL Code | hsl(327, 94%, 54%) |
#f81a95 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 26, 149); }
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(327, 94%, 54%); }
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 #f81a95
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 26, 149, 10%) | #f81a951a | |
rgb(248, 26, 149, 20%) | #f81a9533 | |
rgb(248, 26, 149, 40%) | #f81a954C | |
rgb(248, 26, 149, 60%) | #f81a9599 | |
rgb(248, 26, 149, 80%) | #f81a95CC | |
rgb(248, 26, 149, 100%) | #f81a95FF |
Saturated and desaturated colors of #f81a95
HSL Code | Preview |
---|---|
hsl(327, 10%, 54%) | |
hsl(327, 20%, 54%) | |
hsl(327, 40%, 54%) | |
hsl(327, 60%, 54%) | |
hsl(327, 80%, 54%) | |
hsl(327, 100%, 54%) |
#f81a95 Color Usage In CSS
body { color: #f81a95; } p { color: rgb(248, 26, 149); } header { border-bottom:1px solid #f81a95; }