#f3145f Color
Color Codes | |
---|---|
Hex Code | #f3145f |
RGB Code | rgb(243, 20, 95) |
HSL Code | hsl(340, 90%, 52%) |
#f3145f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(243, 20, 95); }
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(340, 90%, 52%); }
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 #f3145f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(243, 20, 95, 10%) | #f3145f1a | |
rgb(243, 20, 95, 20%) | #f3145f33 | |
rgb(243, 20, 95, 40%) | #f3145f4C | |
rgb(243, 20, 95, 60%) | #f3145f99 | |
rgb(243, 20, 95, 80%) | #f3145fCC | |
rgb(243, 20, 95, 100%) | #f3145fFF |
Saturated and desaturated colors of #f3145f
HSL Code | Preview |
---|---|
hsl(340, 10%, 52%) | |
hsl(340, 20%, 52%) | |
hsl(340, 40%, 52%) | |
hsl(340, 60%, 52%) | |
hsl(340, 80%, 52%) | |
hsl(340, 100%, 52%) |
#f3145f Color Usage In CSS
body { color: #f3145f; } p { color: rgb(243, 20, 95); } header { border-bottom:1px solid #f3145f; }