#f54b86 Color
Color Codes | |
---|---|
Hex Code | #f54b86 |
RGB Code | rgb(245, 75, 134) |
HSL Code | hsl(339, 89%, 63%) |
#f54b86 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 75, 134); }
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(339, 89%, 63%); }
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 #f54b86
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 75, 134, 10%) | #f54b861a | |
rgb(245, 75, 134, 20%) | #f54b8633 | |
rgb(245, 75, 134, 40%) | #f54b864C | |
rgb(245, 75, 134, 60%) | #f54b8699 | |
rgb(245, 75, 134, 80%) | #f54b86CC | |
rgb(245, 75, 134, 100%) | #f54b86FF |
Saturated and desaturated colors of #f54b86
HSL Code | Preview |
---|---|
hsl(339, 10%, 63%) | |
hsl(339, 20%, 63%) | |
hsl(339, 40%, 63%) | |
hsl(339, 60%, 63%) | |
hsl(339, 80%, 63%) | |
hsl(339, 100%, 63%) |
#f54b86 Color Usage In CSS
body { color: #f54b86; } p { color: rgb(245, 75, 134); } header { border-bottom:1px solid #f54b86; }