#fa12ba Color
Color Codes | |
---|---|
Hex Code | #fa12ba |
RGB Code | rgb(250, 18, 186) |
HSL Code | hsl(317, 96%, 53%) |
#fa12ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(250, 18, 186); }
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(317, 96%, 53%); }
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 #fa12ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(250, 18, 186, 10%) | #fa12ba1a | |
rgb(250, 18, 186, 20%) | #fa12ba33 | |
rgb(250, 18, 186, 40%) | #fa12ba4C | |
rgb(250, 18, 186, 60%) | #fa12ba99 | |
rgb(250, 18, 186, 80%) | #fa12baCC | |
rgb(250, 18, 186, 100%) | #fa12baFF |
Saturated and desaturated colors of #fa12ba
HSL Code | Preview |
---|---|
hsl(317, 10%, 53%) | |
hsl(317, 20%, 53%) | |
hsl(317, 40%, 53%) | |
hsl(317, 60%, 53%) | |
hsl(317, 80%, 53%) | |
hsl(317, 100%, 53%) |
#fa12ba Color Usage In CSS
body { color: #fa12ba; } p { color: rgb(250, 18, 186); } header { border-bottom:1px solid #fa12ba; }