#5c375f Color
Color Codes | |
---|---|
Hex Code | #5c375f |
RGB Code | rgb(92, 55, 95) |
HSL Code | hsl(296, 27%, 29%) |
#5c375f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(92, 55, 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(296, 27%, 29%); }
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 #5c375f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(92, 55, 95, 10%) | #5c375f1a | |
rgb(92, 55, 95, 20%) | #5c375f33 | |
rgb(92, 55, 95, 40%) | #5c375f4C | |
rgb(92, 55, 95, 60%) | #5c375f99 | |
rgb(92, 55, 95, 80%) | #5c375fCC | |
rgb(92, 55, 95, 100%) | #5c375fFF |
Saturated and desaturated colors of #5c375f
HSL Code | Preview |
---|---|
hsl(296, 10%, 29%) | |
hsl(296, 20%, 29%) | |
hsl(296, 40%, 29%) | |
hsl(296, 60%, 29%) | |
hsl(296, 80%, 29%) | |
hsl(296, 100%, 29%) |
#5c375f Color Usage In CSS
body { color: #5c375f; } p { color: rgb(92, 55, 95); } header { border-bottom:1px solid #5c375f; }