#b60ba2 Color
Color Codes | |
---|---|
Hex Code | #b60ba2 |
RGB Code | rgb(182, 11, 162) |
HSL Code | hsl(307, 89%, 38%) |
#b60ba2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(182, 11, 162); }
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(307, 89%, 38%); }
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 #b60ba2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(182, 11, 162, 10%) | #b60ba21a | |
rgb(182, 11, 162, 20%) | #b60ba233 | |
rgb(182, 11, 162, 40%) | #b60ba24C | |
rgb(182, 11, 162, 60%) | #b60ba299 | |
rgb(182, 11, 162, 80%) | #b60ba2CC | |
rgb(182, 11, 162, 100%) | #b60ba2FF |
Saturated and desaturated colors of #b60ba2
HSL Code | Preview |
---|---|
hsl(307, 10%, 38%) | |
hsl(307, 20%, 38%) | |
hsl(307, 40%, 38%) | |
hsl(307, 60%, 38%) | |
hsl(307, 80%, 38%) | |
hsl(307, 100%, 38%) |
#b60ba2 Color Usage In CSS
body { color: #b60ba2; } p { color: rgb(182, 11, 162); } header { border-bottom:1px solid #b60ba2; }