#8d9dc0 Color
Color Codes | |
---|---|
Hex Code | #8d9dc0 |
RGB Code | rgb(141, 157, 192) |
HSL Code | hsl(221, 29%, 65%) |
#8d9dc0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(141, 157, 192); }
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(221, 29%, 65%); }
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 #8d9dc0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(141, 157, 192, 10%) | #8d9dc01a | |
rgb(141, 157, 192, 20%) | #8d9dc033 | |
rgb(141, 157, 192, 40%) | #8d9dc04C | |
rgb(141, 157, 192, 60%) | #8d9dc099 | |
rgb(141, 157, 192, 80%) | #8d9dc0CC | |
rgb(141, 157, 192, 100%) | #8d9dc0FF |
Saturated and desaturated colors of #8d9dc0
HSL Code | Preview |
---|---|
hsl(221, 10%, 65%) | |
hsl(221, 20%, 65%) | |
hsl(221, 40%, 65%) | |
hsl(221, 60%, 65%) | |
hsl(221, 80%, 65%) | |
hsl(221, 100%, 65%) |
#8d9dc0 Color Usage In CSS
body { color: #8d9dc0; } p { color: rgb(141, 157, 192); } header { border-bottom:1px solid #8d9dc0; }