#b6788c Color
Color Codes | |
---|---|
Hex Code | #b6788c |
RGB Code | rgb(182, 120, 140) |
HSL Code | hsl(341, 30%, 59%) |
#b6788c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 120, 140); }
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(341, 30%, 59%); }
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 #b6788c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 120, 140, 10%) | #b6788c1a | |
rgb(182, 120, 140, 20%) | #b6788c33 | |
rgb(182, 120, 140, 40%) | #b6788c4C | |
rgb(182, 120, 140, 60%) | #b6788c99 | |
rgb(182, 120, 140, 80%) | #b6788cCC | |
rgb(182, 120, 140, 100%) | #b6788cFF |
Saturated and desaturated colors of #b6788c
HSL Code | Preview |
---|---|
hsl(341, 10%, 59%) | |
hsl(341, 20%, 59%) | |
hsl(341, 40%, 59%) | |
hsl(341, 60%, 59%) | |
hsl(341, 80%, 59%) | |
hsl(341, 100%, 59%) |
#b6788c Color Usage In CSS
body { color: #b6788c; } p { color: rgb(182, 120, 140); } header { border-bottom:1px solid #b6788c; }