#f85c9a Color
Color Codes | |
---|---|
Hex Code | #f85c9a |
RGB Code | rgb(248, 92, 154) |
HSL Code | hsl(336, 92%, 67%) |
#f85c9a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 92, 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(336, 92%, 67%); }
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 #f85c9a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 92, 154, 10%) | #f85c9a1a | |
rgb(248, 92, 154, 20%) | #f85c9a33 | |
rgb(248, 92, 154, 40%) | #f85c9a4C | |
rgb(248, 92, 154, 60%) | #f85c9a99 | |
rgb(248, 92, 154, 80%) | #f85c9aCC | |
rgb(248, 92, 154, 100%) | #f85c9aFF |
Saturated and desaturated colors of #f85c9a
HSL Code | Preview |
---|---|
hsl(336, 10%, 67%) | |
hsl(336, 20%, 67%) | |
hsl(336, 40%, 67%) | |
hsl(336, 60%, 67%) | |
hsl(336, 80%, 67%) | |
hsl(336, 100%, 67%) |
#f85c9a Color Usage In CSS
body { color: #f85c9a; } p { color: rgb(248, 92, 154); } header { border-bottom:1px solid #f85c9a; }