#f99ff6 Color
Color Codes | |
---|---|
Hex Code | #f99ff6 |
RGB Code | rgb(249, 159, 246) |
HSL Code | hsl(302, 88%, 80%) |
#f99ff6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 159, 246); }
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(302, 88%, 80%); }
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 #f99ff6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 159, 246, 10%) | #f99ff61a | |
rgb(249, 159, 246, 20%) | #f99ff633 | |
rgb(249, 159, 246, 40%) | #f99ff64C | |
rgb(249, 159, 246, 60%) | #f99ff699 | |
rgb(249, 159, 246, 80%) | #f99ff6CC | |
rgb(249, 159, 246, 100%) | #f99ff6FF |
Saturated and desaturated colors of #f99ff6
HSL Code | Preview |
---|---|
hsl(302, 10%, 80%) | |
hsl(302, 20%, 80%) | |
hsl(302, 40%, 80%) | |
hsl(302, 60%, 80%) | |
hsl(302, 80%, 80%) | |
hsl(302, 100%, 80%) |
#f99ff6 Color Usage In CSS
body { color: #f99ff6; } p { color: rgb(249, 159, 246); } header { border-bottom:1px solid #f99ff6; }