#f34f5b Color
Color Codes | |
---|---|
Hex Code | #f34f5b |
RGB Code | rgb(243, 79, 91) |
HSL Code | hsl(356, 87%, 63%) |
#f34f5b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(243, 79, 91); }
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(356, 87%, 63%); }
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 #f34f5b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(243, 79, 91, 10%) | #f34f5b1a | |
rgb(243, 79, 91, 20%) | #f34f5b33 | |
rgb(243, 79, 91, 40%) | #f34f5b4C | |
rgb(243, 79, 91, 60%) | #f34f5b99 | |
rgb(243, 79, 91, 80%) | #f34f5bCC | |
rgb(243, 79, 91, 100%) | #f34f5bFF |
Saturated and desaturated colors of #f34f5b
HSL Code | Preview |
---|---|
hsl(356, 10%, 63%) | |
hsl(356, 20%, 63%) | |
hsl(356, 40%, 63%) | |
hsl(356, 60%, 63%) | |
hsl(356, 80%, 63%) | |
hsl(356, 100%, 63%) |
#f34f5b Color Usage In CSS
body { color: #f34f5b; } p { color: rgb(243, 79, 91); } header { border-bottom:1px solid #f34f5b; }