#f66c9c Color
Color Codes | |
---|---|
Hex Code | #f66c9c |
RGB Code | rgb(246, 108, 156) |
HSL Code | hsl(339, 88%, 69%) |
#f66c9c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 108, 156); }
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(339, 88%, 69%); }
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 #f66c9c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 108, 156, 10%) | #f66c9c1a | |
rgb(246, 108, 156, 20%) | #f66c9c33 | |
rgb(246, 108, 156, 40%) | #f66c9c4C | |
rgb(246, 108, 156, 60%) | #f66c9c99 | |
rgb(246, 108, 156, 80%) | #f66c9cCC | |
rgb(246, 108, 156, 100%) | #f66c9cFF |
Saturated and desaturated colors of #f66c9c
HSL Code | Preview |
---|---|
hsl(339, 10%, 69%) | |
hsl(339, 20%, 69%) | |
hsl(339, 40%, 69%) | |
hsl(339, 60%, 69%) | |
hsl(339, 80%, 69%) | |
hsl(339, 100%, 69%) |
#f66c9c Color Usage In CSS
body { color: #f66c9c; } p { color: rgb(246, 108, 156); } header { border-bottom:1px solid #f66c9c; }