#f94bdc Color
Color Codes | |
---|---|
Hex Code | #f94bdc |
RGB Code | rgb(249, 75, 220) |
HSL Code | hsl(310, 94%, 64%) |
#f94bdc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(249, 75, 220); }
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(310, 94%, 64%); }
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 #f94bdc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(249, 75, 220, 10%) | #f94bdc1a | |
rgb(249, 75, 220, 20%) | #f94bdc33 | |
rgb(249, 75, 220, 40%) | #f94bdc4C | |
rgb(249, 75, 220, 60%) | #f94bdc99 | |
rgb(249, 75, 220, 80%) | #f94bdcCC | |
rgb(249, 75, 220, 100%) | #f94bdcFF |
Saturated and desaturated colors of #f94bdc
HSL Code | Preview |
---|---|
hsl(310, 10%, 64%) | |
hsl(310, 20%, 64%) | |
hsl(310, 40%, 64%) | |
hsl(310, 60%, 64%) | |
hsl(310, 80%, 64%) | |
hsl(310, 100%, 64%) |
#f94bdc Color Usage In CSS
body { color: #f94bdc; } p { color: rgb(249, 75, 220); } header { border-bottom:1px solid #f94bdc; }