#f826ab Color
Color Codes | |
---|---|
Hex Code | #f826ab |
RGB Code | rgb(248, 38, 171) |
HSL Code | hsl(322, 94%, 56%) |
#f826ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 38, 171); }
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%, 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 #f826ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 38, 171, 10%) | #f826ab1a | |
rgb(248, 38, 171, 20%) | #f826ab33 | |
rgb(248, 38, 171, 40%) | #f826ab4C | |
rgb(248, 38, 171, 60%) | #f826ab99 | |
rgb(248, 38, 171, 80%) | #f826abCC | |
rgb(248, 38, 171, 100%) | #f826abFF |
Saturated and desaturated colors of #f826ab
HSL Code | Preview |
---|---|
hsl(322, 10%, 56%) | |
hsl(322, 20%, 56%) | |
hsl(322, 40%, 56%) | |
hsl(322, 60%, 56%) | |
hsl(322, 80%, 56%) | |
hsl(322, 100%, 56%) |
#f826ab Color Usage In CSS
body { color: #f826ab; } p { color: rgb(248, 38, 171); } header { border-bottom:1px solid #f826ab; }