#b14bc5 Color
Color Codes | |
---|---|
Hex Code | #b14bc5 |
RGB Code | rgb(177, 75, 197) |
HSL Code | hsl(290, 51%, 53%) |
#b14bc5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 75, 197); }
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(290, 51%, 53%); }
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 #b14bc5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 75, 197, 10%) | #b14bc51a | |
rgb(177, 75, 197, 20%) | #b14bc533 | |
rgb(177, 75, 197, 40%) | #b14bc54C | |
rgb(177, 75, 197, 60%) | #b14bc599 | |
rgb(177, 75, 197, 80%) | #b14bc5CC | |
rgb(177, 75, 197, 100%) | #b14bc5FF |
Saturated and desaturated colors of #b14bc5
HSL Code | Preview |
---|---|
hsl(290, 10%, 53%) | |
hsl(290, 20%, 53%) | |
hsl(290, 40%, 53%) | |
hsl(290, 60%, 53%) | |
hsl(290, 80%, 53%) | |
hsl(290, 100%, 53%) |
#b14bc5 Color Usage In CSS
body { color: #b14bc5; } p { color: rgb(177, 75, 197); } header { border-bottom:1px solid #b14bc5; }