#f02659 Color
Color Codes | |
---|---|
Hex Code | #f02659 |
RGB Code | rgb(240, 38, 89) |
HSL Code | hsl(345, 87%, 55%) |
#f02659 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 38, 89); }
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(345, 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 #f02659
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 38, 89, 10%) | #f026591a | |
rgb(240, 38, 89, 20%) | #f0265933 | |
rgb(240, 38, 89, 40%) | #f026594C | |
rgb(240, 38, 89, 60%) | #f0265999 | |
rgb(240, 38, 89, 80%) | #f02659CC | |
rgb(240, 38, 89, 100%) | #f02659FF |
Saturated and desaturated colors of #f02659
HSL Code | Preview |
---|---|
hsl(345, 10%, 55%) | |
hsl(345, 20%, 55%) | |
hsl(345, 40%, 55%) | |
hsl(345, 60%, 55%) | |
hsl(345, 80%, 55%) | |
hsl(345, 100%, 55%) |
#f02659 Color Usage In CSS
body { color: #f02659; } p { color: rgb(240, 38, 89); } header { border-bottom:1px solid #f02659; }