#892dde Color
Color Codes | |
---|---|
Hex Code | #892dde |
RGB Code | rgb(137, 45, 222) |
HSL Code | hsl(271, 73%, 52%) |
#892dde Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(137, 45, 222); }
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(271, 73%, 52%); }
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 #892dde
RGB Code | Hex Code | Preview |
---|---|---|
rgb(137, 45, 222, 10%) | #892dde1a | |
rgb(137, 45, 222, 20%) | #892dde33 | |
rgb(137, 45, 222, 40%) | #892dde4C | |
rgb(137, 45, 222, 60%) | #892dde99 | |
rgb(137, 45, 222, 80%) | #892ddeCC | |
rgb(137, 45, 222, 100%) | #892ddeFF |
Saturated and desaturated colors of #892dde
HSL Code | Preview |
---|---|
hsl(271, 10%, 52%) | |
hsl(271, 20%, 52%) | |
hsl(271, 40%, 52%) | |
hsl(271, 60%, 52%) | |
hsl(271, 80%, 52%) | |
hsl(271, 100%, 52%) |
#892dde Color Usage In CSS
body { color: #892dde; } p { color: rgb(137, 45, 222); } header { border-bottom:1px solid #892dde; }