#f844f6 Color
Color Codes | |
---|---|
Hex Code | #f844f6 |
RGB Code | rgb(248, 68, 246) |
HSL Code | hsl(301, 93%, 62%) |
#f844f6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(248, 68, 246); }
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(301, 93%, 62%); }
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 #f844f6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(248, 68, 246, 10%) | #f844f61a | |
rgb(248, 68, 246, 20%) | #f844f633 | |
rgb(248, 68, 246, 40%) | #f844f64C | |
rgb(248, 68, 246, 60%) | #f844f699 | |
rgb(248, 68, 246, 80%) | #f844f6CC | |
rgb(248, 68, 246, 100%) | #f844f6FF |
Saturated and desaturated colors of #f844f6
HSL Code | Preview |
---|---|
hsl(301, 10%, 62%) | |
hsl(301, 20%, 62%) | |
hsl(301, 40%, 62%) | |
hsl(301, 60%, 62%) | |
hsl(301, 80%, 62%) | |
hsl(301, 100%, 62%) |
#f844f6 Color Usage In CSS
body { color: #f844f6; } p { color: rgb(248, 68, 246); } header { border-bottom:1px solid #f844f6; }