#f135f0 Color
Color Codes | |
---|---|
Hex Code | #f135f0 |
RGB Code | rgb(241, 53, 240) |
HSL Code | hsl(300, 87%, 58%) |
#f135f0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 53, 240); }
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, 87%, 58%); }
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 #f135f0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 53, 240, 10%) | #f135f01a | |
rgb(241, 53, 240, 20%) | #f135f033 | |
rgb(241, 53, 240, 40%) | #f135f04C | |
rgb(241, 53, 240, 60%) | #f135f099 | |
rgb(241, 53, 240, 80%) | #f135f0CC | |
rgb(241, 53, 240, 100%) | #f135f0FF |
Saturated and desaturated colors of #f135f0
HSL Code | Preview |
---|---|
hsl(300, 10%, 58%) | |
hsl(300, 20%, 58%) | |
hsl(300, 40%, 58%) | |
hsl(300, 60%, 58%) | |
hsl(300, 80%, 58%) | |
hsl(300, 100%, 58%) |
#f135f0 Color Usage In CSS
body { color: #f135f0; } p { color: rgb(241, 53, 240); } header { border-bottom:1px solid #f135f0; }