#756feb Color
Color Codes | |
---|---|
Hex Code | #756feb |
RGB Code | rgb(117, 111, 235) |
HSL Code | hsl(243, 76%, 68%) |
#756feb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(117, 111, 235); }
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(243, 76%, 68%); }
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 #756feb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(117, 111, 235, 10%) | #756feb1a | |
rgb(117, 111, 235, 20%) | #756feb33 | |
rgb(117, 111, 235, 40%) | #756feb4C | |
rgb(117, 111, 235, 60%) | #756feb99 | |
rgb(117, 111, 235, 80%) | #756febCC | |
rgb(117, 111, 235, 100%) | #756febFF |
Saturated and desaturated colors of #756feb
HSL Code | Preview |
---|---|
hsl(243, 10%, 68%) | |
hsl(243, 20%, 68%) | |
hsl(243, 40%, 68%) | |
hsl(243, 60%, 68%) | |
hsl(243, 80%, 68%) | |
hsl(243, 100%, 68%) |
#756feb Color Usage In CSS
body { color: #756feb; } p { color: rgb(117, 111, 235); } header { border-bottom:1px solid #756feb; }