#8f899b Color
Color Codes | |
---|---|
Hex Code | #8f899b |
RGB Code | rgb(143, 137, 155) |
HSL Code | hsl(260, 8%, 57%) |
#8f899b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(143, 137, 155); }
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(260, 8%, 57%); }
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 #8f899b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(143, 137, 155, 10%) | #8f899b1a | |
rgb(143, 137, 155, 20%) | #8f899b33 | |
rgb(143, 137, 155, 40%) | #8f899b4C | |
rgb(143, 137, 155, 60%) | #8f899b99 | |
rgb(143, 137, 155, 80%) | #8f899bCC | |
rgb(143, 137, 155, 100%) | #8f899bFF |
Saturated and desaturated colors of #8f899b
HSL Code | Preview |
---|---|
hsl(260, 10%, 57%) | |
hsl(260, 20%, 57%) | |
hsl(260, 40%, 57%) | |
hsl(260, 60%, 57%) | |
hsl(260, 80%, 57%) | |
hsl(260, 100%, 57%) |
#8f899b Color Usage In CSS
body { color: #8f899b; } p { color: rgb(143, 137, 155); } header { border-bottom:1px solid #8f899b; }