#f6289e Color
Color Codes | |
---|---|
Hex Code | #f6289e |
RGB Code | rgb(246, 40, 158) |
HSL Code | hsl(326, 92%, 56%) |
#f6289e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 40, 158); }
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(326, 92%, 56%); }
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 #f6289e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 40, 158, 10%) | #f6289e1a | |
rgb(246, 40, 158, 20%) | #f6289e33 | |
rgb(246, 40, 158, 40%) | #f6289e4C | |
rgb(246, 40, 158, 60%) | #f6289e99 | |
rgb(246, 40, 158, 80%) | #f6289eCC | |
rgb(246, 40, 158, 100%) | #f6289eFF |
Saturated and desaturated colors of #f6289e
HSL Code | Preview |
---|---|
hsl(326, 10%, 56%) | |
hsl(326, 20%, 56%) | |
hsl(326, 40%, 56%) | |
hsl(326, 60%, 56%) | |
hsl(326, 80%, 56%) | |
hsl(326, 100%, 56%) |
#f6289e Color Usage In CSS
body { color: #f6289e; } p { color: rgb(246, 40, 158); } header { border-bottom:1px solid #f6289e; }