#f645fe Color
Color Codes | |
---|---|
Hex Code | #f645fe |
RGB Code | rgb(246, 69, 254) |
HSL Code | hsl(297, 99%, 63%) |
#f645fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 69, 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(297, 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 #f645fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 69, 254, 10%) | #f645fe1a | |
rgb(246, 69, 254, 20%) | #f645fe33 | |
rgb(246, 69, 254, 40%) | #f645fe4C | |
rgb(246, 69, 254, 60%) | #f645fe99 | |
rgb(246, 69, 254, 80%) | #f645feCC | |
rgb(246, 69, 254, 100%) | #f645feFF |
Saturated and desaturated colors of #f645fe
HSL Code | Preview |
---|---|
hsl(297, 10%, 63%) | |
hsl(297, 20%, 63%) | |
hsl(297, 40%, 63%) | |
hsl(297, 60%, 63%) | |
hsl(297, 80%, 63%) | |
hsl(297, 100%, 63%) |
#f645fe Color Usage In CSS
body { color: #f645fe; } p { color: rgb(246, 69, 254); } header { border-bottom:1px solid #f645fe; }