#b2599a Color
Color Codes | |
---|---|
Hex Code | #b2599a |
RGB Code | rgb(178, 89, 154) |
HSL Code | hsl(316, 37%, 52%) |
#b2599a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 89, 154); }
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(316, 37%, 52%); }
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 #b2599a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 89, 154, 10%) | #b2599a1a | |
rgb(178, 89, 154, 20%) | #b2599a33 | |
rgb(178, 89, 154, 40%) | #b2599a4C | |
rgb(178, 89, 154, 60%) | #b2599a99 | |
rgb(178, 89, 154, 80%) | #b2599aCC | |
rgb(178, 89, 154, 100%) | #b2599aFF |
Saturated and desaturated colors of #b2599a
HSL Code | Preview |
---|---|
hsl(316, 10%, 52%) | |
hsl(316, 20%, 52%) | |
hsl(316, 40%, 52%) | |
hsl(316, 60%, 52%) | |
hsl(316, 80%, 52%) | |
hsl(316, 100%, 52%) |
#b2599a Color Usage In CSS
body { color: #b2599a; } p { color: rgb(178, 89, 154); } header { border-bottom:1px solid #b2599a; }