#f56391 Color
Color Codes | |
---|---|
Hex Code | #f56391 |
RGB Code | rgb(245, 99, 145) |
HSL Code | hsl(341, 88%, 67%) |
#f56391 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 99, 145); }
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(341, 88%, 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 #f56391
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 99, 145, 10%) | #f563911a | |
rgb(245, 99, 145, 20%) | #f5639133 | |
rgb(245, 99, 145, 40%) | #f563914C | |
rgb(245, 99, 145, 60%) | #f5639199 | |
rgb(245, 99, 145, 80%) | #f56391CC | |
rgb(245, 99, 145, 100%) | #f56391FF |
Saturated and desaturated colors of #f56391
HSL Code | Preview |
---|---|
hsl(341, 10%, 67%) | |
hsl(341, 20%, 67%) | |
hsl(341, 40%, 67%) | |
hsl(341, 60%, 67%) | |
hsl(341, 80%, 67%) | |
hsl(341, 100%, 67%) |
#f56391 Color Usage In CSS
body { color: #f56391; } p { color: rgb(245, 99, 145); } header { border-bottom:1px solid #f56391; }