#fa1fdc Color
Color Codes | |
---|---|
Hex Code | #fa1fdc |
RGB Code | rgb(250, 31, 220) |
HSL Code | hsl(308, 96%, 55%) |
#fa1fdc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(250, 31, 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(308, 96%, 55%); }
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 #fa1fdc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(250, 31, 220, 10%) | #fa1fdc1a | |
rgb(250, 31, 220, 20%) | #fa1fdc33 | |
rgb(250, 31, 220, 40%) | #fa1fdc4C | |
rgb(250, 31, 220, 60%) | #fa1fdc99 | |
rgb(250, 31, 220, 80%) | #fa1fdcCC | |
rgb(250, 31, 220, 100%) | #fa1fdcFF |
Saturated and desaturated colors of #fa1fdc
HSL Code | Preview |
---|---|
hsl(308, 10%, 55%) | |
hsl(308, 20%, 55%) | |
hsl(308, 40%, 55%) | |
hsl(308, 60%, 55%) | |
hsl(308, 80%, 55%) | |
hsl(308, 100%, 55%) |
#fa1fdc Color Usage In CSS
body { color: #fa1fdc; } p { color: rgb(250, 31, 220); } header { border-bottom:1px solid #fa1fdc; }