#942b92 Color
Color Codes | |
---|---|
Hex Code | #942b92 |
RGB Code | rgb(148, 43, 146) |
HSL Code | hsl(301, 55%, 37%) |
#942b92 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(148, 43, 146); }
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(301, 55%, 37%); }
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 #942b92
RGB Code | Hex Code | Preview |
---|---|---|
rgb(148, 43, 146, 10%) | #942b921a | |
rgb(148, 43, 146, 20%) | #942b9233 | |
rgb(148, 43, 146, 40%) | #942b924C | |
rgb(148, 43, 146, 60%) | #942b9299 | |
rgb(148, 43, 146, 80%) | #942b92CC | |
rgb(148, 43, 146, 100%) | #942b92FF |
Saturated and desaturated colors of #942b92
HSL Code | Preview |
---|---|
hsl(301, 10%, 37%) | |
hsl(301, 20%, 37%) | |
hsl(301, 40%, 37%) | |
hsl(301, 60%, 37%) | |
hsl(301, 80%, 37%) | |
hsl(301, 100%, 37%) |
#942b92 Color Usage In CSS
body { color: #942b92; } p { color: rgb(148, 43, 146); } header { border-bottom:1px solid #942b92; }