#f6c2fa Color
Color Codes | |
---|---|
Hex Code | #f6c2fa |
RGB Code | rgb(246, 194, 250) |
HSL Code | hsl(296, 85%, 87%) |
#f6c2fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 194, 250); }
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(296, 85%, 87%); }
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 #f6c2fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 194, 250, 10%) | #f6c2fa1a | |
rgb(246, 194, 250, 20%) | #f6c2fa33 | |
rgb(246, 194, 250, 40%) | #f6c2fa4C | |
rgb(246, 194, 250, 60%) | #f6c2fa99 | |
rgb(246, 194, 250, 80%) | #f6c2faCC | |
rgb(246, 194, 250, 100%) | #f6c2faFF |
Saturated and desaturated colors of #f6c2fa
HSL Code | Preview |
---|---|
hsl(296, 10%, 87%) | |
hsl(296, 20%, 87%) | |
hsl(296, 40%, 87%) | |
hsl(296, 60%, 87%) | |
hsl(296, 80%, 87%) | |
hsl(296, 100%, 87%) |
#f6c2fa Color Usage In CSS
body { color: #f6c2fa; } p { color: rgb(246, 194, 250); } header { border-bottom:1px solid #f6c2fa; }