#643aa7 Color
Color Codes | |
---|---|
Hex Code | #643aa7 |
RGB Code | rgb(100, 58, 167) |
HSL Code | hsl(263, 48%, 44%) |
#643aa7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(100, 58, 167); }
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(263, 48%, 44%); }
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 #643aa7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(100, 58, 167, 10%) | #643aa71a | |
rgb(100, 58, 167, 20%) | #643aa733 | |
rgb(100, 58, 167, 40%) | #643aa74C | |
rgb(100, 58, 167, 60%) | #643aa799 | |
rgb(100, 58, 167, 80%) | #643aa7CC | |
rgb(100, 58, 167, 100%) | #643aa7FF |
Saturated and desaturated colors of #643aa7
HSL Code | Preview |
---|---|
hsl(263, 10%, 44%) | |
hsl(263, 20%, 44%) | |
hsl(263, 40%, 44%) | |
hsl(263, 60%, 44%) | |
hsl(263, 80%, 44%) | |
hsl(263, 100%, 44%) |
#643aa7 Color Usage In CSS
body { color: #643aa7; } p { color: rgb(100, 58, 167); } header { border-bottom:1px solid #643aa7; }