#7f88b8 Color
Color Codes | |
---|---|
Hex Code | #7f88b8 |
RGB Code | rgb(127, 136, 184) |
HSL Code | hsl(231, 29%, 61%) |
#7f88b8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 136, 184); }
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(231, 29%, 61%); }
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 #7f88b8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 136, 184, 10%) | #7f88b81a | |
rgb(127, 136, 184, 20%) | #7f88b833 | |
rgb(127, 136, 184, 40%) | #7f88b84C | |
rgb(127, 136, 184, 60%) | #7f88b899 | |
rgb(127, 136, 184, 80%) | #7f88b8CC | |
rgb(127, 136, 184, 100%) | #7f88b8FF |
Saturated and desaturated colors of #7f88b8
HSL Code | Preview |
---|---|
hsl(231, 10%, 61%) | |
hsl(231, 20%, 61%) | |
hsl(231, 40%, 61%) | |
hsl(231, 60%, 61%) | |
hsl(231, 80%, 61%) | |
hsl(231, 100%, 61%) |
#7f88b8 Color Usage In CSS
body { color: #7f88b8; } p { color: rgb(127, 136, 184); } header { border-bottom:1px solid #7f88b8; }