#fb6dfa Color
Color Codes | |
---|---|
Hex Code | #fb6dfa |
RGB Code | rgb(251, 109, 250) |
HSL Code | hsl(300, 95%, 71%) |
#fb6dfa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 109, 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(300, 95%, 71%); }
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 #fb6dfa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 109, 250, 10%) | #fb6dfa1a | |
rgb(251, 109, 250, 20%) | #fb6dfa33 | |
rgb(251, 109, 250, 40%) | #fb6dfa4C | |
rgb(251, 109, 250, 60%) | #fb6dfa99 | |
rgb(251, 109, 250, 80%) | #fb6dfaCC | |
rgb(251, 109, 250, 100%) | #fb6dfaFF |
Saturated and desaturated colors of #fb6dfa
HSL Code | Preview |
---|---|
hsl(300, 10%, 71%) | |
hsl(300, 20%, 71%) | |
hsl(300, 40%, 71%) | |
hsl(300, 60%, 71%) | |
hsl(300, 80%, 71%) | |
hsl(300, 100%, 71%) |
#fb6dfa Color Usage In CSS
body { color: #fb6dfa; } p { color: rgb(251, 109, 250); } header { border-bottom:1px solid #fb6dfa; }