#745bf5 Color
Color Codes | |
---|---|
Hex Code | #745bf5 |
RGB Code | rgb(116, 91, 245) |
HSL Code | hsl(250, 89%, 66%) |
#745bf5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(116, 91, 245); }
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(250, 89%, 66%); }
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 #745bf5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(116, 91, 245, 10%) | #745bf51a | |
rgb(116, 91, 245, 20%) | #745bf533 | |
rgb(116, 91, 245, 40%) | #745bf54C | |
rgb(116, 91, 245, 60%) | #745bf599 | |
rgb(116, 91, 245, 80%) | #745bf5CC | |
rgb(116, 91, 245, 100%) | #745bf5FF |
Saturated and desaturated colors of #745bf5
HSL Code | Preview |
---|---|
hsl(250, 10%, 66%) | |
hsl(250, 20%, 66%) | |
hsl(250, 40%, 66%) | |
hsl(250, 60%, 66%) | |
hsl(250, 80%, 66%) | |
hsl(250, 100%, 66%) |
#745bf5 Color Usage In CSS
body { color: #745bf5; } p { color: rgb(116, 91, 245); } header { border-bottom:1px solid #745bf5; }