#5c8095 Color
Color Codes | |
---|---|
Hex Code | #5c8095 |
RGB Code | rgb(92, 128, 149) |
HSL Code | hsl(202, 24%, 47%) |
#5c8095 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(92, 128, 149); }
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(202, 24%, 47%); }
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 #5c8095
RGB Code | Hex Code | Preview |
---|---|---|
rgb(92, 128, 149, 10%) | #5c80951a | |
rgb(92, 128, 149, 20%) | #5c809533 | |
rgb(92, 128, 149, 40%) | #5c80954C | |
rgb(92, 128, 149, 60%) | #5c809599 | |
rgb(92, 128, 149, 80%) | #5c8095CC | |
rgb(92, 128, 149, 100%) | #5c8095FF |
Saturated and desaturated colors of #5c8095
HSL Code | Preview |
---|---|
hsl(202, 10%, 47%) | |
hsl(202, 20%, 47%) | |
hsl(202, 40%, 47%) | |
hsl(202, 60%, 47%) | |
hsl(202, 80%, 47%) | |
hsl(202, 100%, 47%) |
#5c8095 Color Usage In CSS
body { color: #5c8095; } p { color: rgb(92, 128, 149); } header { border-bottom:1px solid #5c8095; }