#8885cf Color
Color Codes | |
---|---|
Hex Code | #8885cf |
RGB Code | rgb(136, 133, 207) |
HSL Code | hsl(242, 44%, 67%) |
#8885cf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(136, 133, 207); }
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(242, 44%, 67%); }
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 #8885cf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(136, 133, 207, 10%) | #8885cf1a | |
rgb(136, 133, 207, 20%) | #8885cf33 | |
rgb(136, 133, 207, 40%) | #8885cf4C | |
rgb(136, 133, 207, 60%) | #8885cf99 | |
rgb(136, 133, 207, 80%) | #8885cfCC | |
rgb(136, 133, 207, 100%) | #8885cfFF |
Saturated and desaturated colors of #8885cf
HSL Code | Preview |
---|---|
hsl(242, 10%, 67%) | |
hsl(242, 20%, 67%) | |
hsl(242, 40%, 67%) | |
hsl(242, 60%, 67%) | |
hsl(242, 80%, 67%) | |
hsl(242, 100%, 67%) |
#8885cf Color Usage In CSS
body { color: #8885cf; } p { color: rgb(136, 133, 207); } header { border-bottom:1px solid #8885cf; }