#f02965 Color
Color Codes | |
---|---|
Hex Code | #f02965 |
RGB Code | rgb(240, 41, 101) |
HSL Code | hsl(342, 87%, 55%) |
#f02965 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 41, 101); }
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(342, 87%, 55%); }
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 #f02965
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 41, 101, 10%) | #f029651a | |
rgb(240, 41, 101, 20%) | #f0296533 | |
rgb(240, 41, 101, 40%) | #f029654C | |
rgb(240, 41, 101, 60%) | #f0296599 | |
rgb(240, 41, 101, 80%) | #f02965CC | |
rgb(240, 41, 101, 100%) | #f02965FF |
Saturated and desaturated colors of #f02965
HSL Code | Preview |
---|---|
hsl(342, 10%, 55%) | |
hsl(342, 20%, 55%) | |
hsl(342, 40%, 55%) | |
hsl(342, 60%, 55%) | |
hsl(342, 80%, 55%) | |
hsl(342, 100%, 55%) |
#f02965 Color Usage In CSS
body { color: #f02965; } p { color: rgb(240, 41, 101); } header { border-bottom:1px solid #f02965; }