#fb5a4c Color
Color Codes | |
---|---|
Hex Code | #fb5a4c |
RGB Code | rgb(251, 90, 76) |
HSL Code | hsl(5, 96%, 64%) |
#fb5a4c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 90, 76); }
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(5, 96%, 64%); }
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 #fb5a4c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 90, 76, 10%) | #fb5a4c1a | |
rgb(251, 90, 76, 20%) | #fb5a4c33 | |
rgb(251, 90, 76, 40%) | #fb5a4c4C | |
rgb(251, 90, 76, 60%) | #fb5a4c99 | |
rgb(251, 90, 76, 80%) | #fb5a4cCC | |
rgb(251, 90, 76, 100%) | #fb5a4cFF |
Saturated and desaturated colors of #fb5a4c
HSL Code | Preview |
---|---|
hsl(5, 10%, 64%) | |
hsl(5, 20%, 64%) | |
hsl(5, 40%, 64%) | |
hsl(5, 60%, 64%) | |
hsl(5, 80%, 64%) | |
hsl(5, 100%, 64%) |
#fb5a4c Color Usage In CSS
body { color: #fb5a4c; } p { color: rgb(251, 90, 76); } header { border-bottom:1px solid #fb5a4c; }