#f844fe Color
Color Codes | |
---|---|
Hex Code | #f844fe |
RGB Code | rgb(248, 68, 254) |
HSL Code | hsl(298, 99%, 63%) |
#f844fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 68, 254); }
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(298, 99%, 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 #f844fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 68, 254, 10%) | #f844fe1a | |
rgb(248, 68, 254, 20%) | #f844fe33 | |
rgb(248, 68, 254, 40%) | #f844fe4C | |
rgb(248, 68, 254, 60%) | #f844fe99 | |
rgb(248, 68, 254, 80%) | #f844feCC | |
rgb(248, 68, 254, 100%) | #f844feFF |
Saturated and desaturated colors of #f844fe
HSL Code | Preview |
---|---|
hsl(298, 10%, 63%) | |
hsl(298, 20%, 63%) | |
hsl(298, 40%, 63%) | |
hsl(298, 60%, 63%) | |
hsl(298, 80%, 63%) | |
hsl(298, 100%, 63%) |
#f844fe Color Usage In CSS
body { color: #f844fe; } p { color: rgb(248, 68, 254); } header { border-bottom:1px solid #f844fe; }