#f5089f Color
Color Codes | |
---|---|
Hex Code | #f5089f |
RGB Code | rgb(245, 08, 159) |
HSL Code | hsl(322, 94%, 50%) |
#f5089f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 08, 159); }
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(322, 94%, 50%); }
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 #f5089f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 08, 159, 10%) | #f5089f1a | |
rgb(245, 08, 159, 20%) | #f5089f33 | |
rgb(245, 08, 159, 40%) | #f5089f4C | |
rgb(245, 08, 159, 60%) | #f5089f99 | |
rgb(245, 08, 159, 80%) | #f5089fCC | |
rgb(245, 08, 159, 100%) | #f5089fFF |
Saturated and desaturated colors of #f5089f
HSL Code | Preview |
---|---|
hsl(322, 10%, 50%) | |
hsl(322, 20%, 50%) | |
hsl(322, 40%, 50%) | |
hsl(322, 60%, 50%) | |
hsl(322, 80%, 50%) | |
hsl(322, 100%, 50%) |
#f5089f Color Usage In CSS
body { color: #f5089f; } p { color: rgb(245, 08, 159); } header { border-bottom:1px solid #f5089f; }