#832fcb Color
Color Codes | |
---|---|
Hex Code | #832fcb |
RGB Code | rgb(131, 47, 203) |
HSL Code | hsl(272, 62%, 49%) |
#832fcb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(131, 47, 203); }
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(272, 62%, 49%); }
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 #832fcb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(131, 47, 203, 10%) | #832fcb1a | |
rgb(131, 47, 203, 20%) | #832fcb33 | |
rgb(131, 47, 203, 40%) | #832fcb4C | |
rgb(131, 47, 203, 60%) | #832fcb99 | |
rgb(131, 47, 203, 80%) | #832fcbCC | |
rgb(131, 47, 203, 100%) | #832fcbFF |
Saturated and desaturated colors of #832fcb
HSL Code | Preview |
---|---|
hsl(272, 10%, 49%) | |
hsl(272, 20%, 49%) | |
hsl(272, 40%, 49%) | |
hsl(272, 60%, 49%) | |
hsl(272, 80%, 49%) | |
hsl(272, 100%, 49%) |
#832fcb Color Usage In CSS
body { color: #832fcb; } p { color: rgb(131, 47, 203); } header { border-bottom:1px solid #832fcb; }