#c4b1fb Color
Color Codes | |
---|---|
Hex Code | #c4b1fb |
RGB Code | rgb(196, 177, 251) |
HSL Code | hsl(255, 90%, 84%) |
#c4b1fb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 177, 251); }
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(255, 90%, 84%); }
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 #c4b1fb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 177, 251, 10%) | #c4b1fb1a | |
rgb(196, 177, 251, 20%) | #c4b1fb33 | |
rgb(196, 177, 251, 40%) | #c4b1fb4C | |
rgb(196, 177, 251, 60%) | #c4b1fb99 | |
rgb(196, 177, 251, 80%) | #c4b1fbCC | |
rgb(196, 177, 251, 100%) | #c4b1fbFF |
Saturated and desaturated colors of #c4b1fb
HSL Code | Preview |
---|---|
hsl(255, 10%, 84%) | |
hsl(255, 20%, 84%) | |
hsl(255, 40%, 84%) | |
hsl(255, 60%, 84%) | |
hsl(255, 80%, 84%) | |
hsl(255, 100%, 84%) |
#c4b1fb Color Usage In CSS
body { color: #c4b1fb; } p { color: rgb(196, 177, 251); } header { border-bottom:1px solid #c4b1fb; }