#f698ec Color
Color Codes | |
---|---|
Hex Code | #f698ec |
RGB Code | rgb(246, 152, 236) |
HSL Code | hsl(306, 84%, 78%) |
#f698ec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 152, 236); }
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(306, 84%, 78%); }
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 #f698ec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 152, 236, 10%) | #f698ec1a | |
rgb(246, 152, 236, 20%) | #f698ec33 | |
rgb(246, 152, 236, 40%) | #f698ec4C | |
rgb(246, 152, 236, 60%) | #f698ec99 | |
rgb(246, 152, 236, 80%) | #f698ecCC | |
rgb(246, 152, 236, 100%) | #f698ecFF |
Saturated and desaturated colors of #f698ec
HSL Code | Preview |
---|---|
hsl(306, 10%, 78%) | |
hsl(306, 20%, 78%) | |
hsl(306, 40%, 78%) | |
hsl(306, 60%, 78%) | |
hsl(306, 80%, 78%) | |
hsl(306, 100%, 78%) |
#f698ec Color Usage In CSS
body { color: #f698ec; } p { color: rgb(246, 152, 236); } header { border-bottom:1px solid #f698ec; }