#664beb Color
Color Codes | |
---|---|
Hex Code | #664beb |
RGB Code | rgb(102, 75, 235) |
HSL Code | hsl(250, 80%, 61%) |
#664beb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(102, 75, 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(250, 80%, 61%); }
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 #664beb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(102, 75, 235, 10%) | #664beb1a | |
rgb(102, 75, 235, 20%) | #664beb33 | |
rgb(102, 75, 235, 40%) | #664beb4C | |
rgb(102, 75, 235, 60%) | #664beb99 | |
rgb(102, 75, 235, 80%) | #664bebCC | |
rgb(102, 75, 235, 100%) | #664bebFF |
Saturated and desaturated colors of #664beb
HSL Code | Preview |
---|---|
hsl(250, 10%, 61%) | |
hsl(250, 20%, 61%) | |
hsl(250, 40%, 61%) | |
hsl(250, 60%, 61%) | |
hsl(250, 80%, 61%) | |
hsl(250, 100%, 61%) |
#664beb Color Usage In CSS
body { color: #664beb; } p { color: rgb(102, 75, 235); } header { border-bottom:1px solid #664beb; }