#746ed6 Color
Color Codes | |
---|---|
Hex Code | #746ed6 |
RGB Code | rgb(116, 110, 214) |
HSL Code | hsl(243, 56%, 64%) |
#746ed6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(116, 110, 214); }
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, 56%, 64%); }
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 #746ed6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(116, 110, 214, 10%) | #746ed61a | |
rgb(116, 110, 214, 20%) | #746ed633 | |
rgb(116, 110, 214, 40%) | #746ed64C | |
rgb(116, 110, 214, 60%) | #746ed699 | |
rgb(116, 110, 214, 80%) | #746ed6CC | |
rgb(116, 110, 214, 100%) | #746ed6FF |
Saturated and desaturated colors of #746ed6
HSL Code | Preview |
---|---|
hsl(243, 10%, 64%) | |
hsl(243, 20%, 64%) | |
hsl(243, 40%, 64%) | |
hsl(243, 60%, 64%) | |
hsl(243, 80%, 64%) | |
hsl(243, 100%, 64%) |
#746ed6 Color Usage In CSS
body { color: #746ed6; } p { color: rgb(116, 110, 214); } header { border-bottom:1px solid #746ed6; }