#8374ab Color
Color Codes | |
---|---|
Hex Code | #8374ab |
RGB Code | rgb(131, 116, 171) |
HSL Code | hsl(256, 25%, 56%) |
#8374ab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(131, 116, 171); }
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(256, 25%, 56%); }
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 #8374ab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(131, 116, 171, 10%) | #8374ab1a | |
rgb(131, 116, 171, 20%) | #8374ab33 | |
rgb(131, 116, 171, 40%) | #8374ab4C | |
rgb(131, 116, 171, 60%) | #8374ab99 | |
rgb(131, 116, 171, 80%) | #8374abCC | |
rgb(131, 116, 171, 100%) | #8374abFF |
Saturated and desaturated colors of #8374ab
HSL Code | Preview |
---|---|
hsl(256, 10%, 56%) | |
hsl(256, 20%, 56%) | |
hsl(256, 40%, 56%) | |
hsl(256, 60%, 56%) | |
hsl(256, 80%, 56%) | |
hsl(256, 100%, 56%) |
#8374ab Color Usage In CSS
body { color: #8374ab; } p { color: rgb(131, 116, 171); } header { border-bottom:1px solid #8374ab; }