#bb496b Color
Color Codes | |
---|---|
Hex Code | #bb496b |
RGB Code | rgb(187, 73, 107) |
HSL Code | hsl(342, 46%, 51%) |
#bb496b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 73, 107); }
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(342, 46%, 51%); }
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 #bb496b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 73, 107, 10%) | #bb496b1a | |
rgb(187, 73, 107, 20%) | #bb496b33 | |
rgb(187, 73, 107, 40%) | #bb496b4C | |
rgb(187, 73, 107, 60%) | #bb496b99 | |
rgb(187, 73, 107, 80%) | #bb496bCC | |
rgb(187, 73, 107, 100%) | #bb496bFF |
Saturated and desaturated colors of #bb496b
HSL Code | Preview |
---|---|
hsl(342, 10%, 51%) | |
hsl(342, 20%, 51%) | |
hsl(342, 40%, 51%) | |
hsl(342, 60%, 51%) | |
hsl(342, 80%, 51%) | |
hsl(342, 100%, 51%) |
#bb496b Color Usage In CSS
body { color: #bb496b; } p { color: rgb(187, 73, 107); } header { border-bottom:1px solid #bb496b; }