#f65fdb Color
Color Codes | |
---|---|
Hex Code | #f65fdb |
RGB Code | rgb(246, 95, 219) |
HSL Code | hsl(311, 89%, 67%) |
#f65fdb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 95, 219); }
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(311, 89%, 67%); }
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 #f65fdb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 95, 219, 10%) | #f65fdb1a | |
rgb(246, 95, 219, 20%) | #f65fdb33 | |
rgb(246, 95, 219, 40%) | #f65fdb4C | |
rgb(246, 95, 219, 60%) | #f65fdb99 | |
rgb(246, 95, 219, 80%) | #f65fdbCC | |
rgb(246, 95, 219, 100%) | #f65fdbFF |
Saturated and desaturated colors of #f65fdb
HSL Code | Preview |
---|---|
hsl(311, 10%, 67%) | |
hsl(311, 20%, 67%) | |
hsl(311, 40%, 67%) | |
hsl(311, 60%, 67%) | |
hsl(311, 80%, 67%) | |
hsl(311, 100%, 67%) |
#f65fdb Color Usage In CSS
body { color: #f65fdb; } p { color: rgb(246, 95, 219); } header { border-bottom:1px solid #f65fdb; }