#7836bb Color
Color Codes | |
---|---|
Hex Code | #7836bb |
RGB Code | rgb(120, 54, 187) |
HSL Code | hsl(270, 55%, 47%) |
#7836bb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(120, 54, 187); }
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(270, 55%, 47%); }
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 #7836bb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(120, 54, 187, 10%) | #7836bb1a | |
rgb(120, 54, 187, 20%) | #7836bb33 | |
rgb(120, 54, 187, 40%) | #7836bb4C | |
rgb(120, 54, 187, 60%) | #7836bb99 | |
rgb(120, 54, 187, 80%) | #7836bbCC | |
rgb(120, 54, 187, 100%) | #7836bbFF |
Saturated and desaturated colors of #7836bb
HSL Code | Preview |
---|---|
hsl(270, 10%, 47%) | |
hsl(270, 20%, 47%) | |
hsl(270, 40%, 47%) | |
hsl(270, 60%, 47%) | |
hsl(270, 80%, 47%) | |
hsl(270, 100%, 47%) |
#7836bb Color Usage In CSS
body { color: #7836bb; } p { color: rgb(120, 54, 187); } header { border-bottom:1px solid #7836bb; }