#f05484 Color
Color Codes | |
---|---|
Hex Code | #f05484 |
RGB Code | rgb(240, 84, 132) |
HSL Code | hsl(342, 84%, 64%) |
#f05484 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 84, 132); }
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(342, 84%, 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 #f05484
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 84, 132, 10%) | #f054841a | |
rgb(240, 84, 132, 20%) | #f0548433 | |
rgb(240, 84, 132, 40%) | #f054844C | |
rgb(240, 84, 132, 60%) | #f0548499 | |
rgb(240, 84, 132, 80%) | #f05484CC | |
rgb(240, 84, 132, 100%) | #f05484FF |
Saturated and desaturated colors of #f05484
HSL Code | Preview |
---|---|
hsl(342, 10%, 64%) | |
hsl(342, 20%, 64%) | |
hsl(342, 40%, 64%) | |
hsl(342, 60%, 64%) | |
hsl(342, 80%, 64%) | |
hsl(342, 100%, 64%) |
#f05484 Color Usage In CSS
body { color: #f05484; } p { color: rgb(240, 84, 132); } header { border-bottom:1px solid #f05484; }