#ff5956 Color
Color Codes | |
---|---|
Hex Code | #ff5956 |
RGB Code | rgb(255, 89, 86) |
HSL Code | hsl(1, 100%, 67%) |
#ff5956 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 89, 86); }
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(1, 100%, 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 #ff5956
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 89, 86, 10%) | #ff59561a | |
rgb(255, 89, 86, 20%) | #ff595633 | |
rgb(255, 89, 86, 40%) | #ff59564C | |
rgb(255, 89, 86, 60%) | #ff595699 | |
rgb(255, 89, 86, 80%) | #ff5956CC | |
rgb(255, 89, 86, 100%) | #ff5956FF |
Saturated and desaturated colors of #ff5956
HSL Code | Preview |
---|---|
hsl(1, 10%, 67%) | |
hsl(1, 20%, 67%) | |
hsl(1, 40%, 67%) | |
hsl(1, 60%, 67%) | |
hsl(1, 80%, 67%) | |
hsl(1, 100%, 67%) |
#ff5956 Color Usage In CSS
body { color: #ff5956; } p { color: rgb(255, 89, 86); } header { border-bottom:1px solid #ff5956; }