#bb1e94 Color
Color Codes | |
---|---|
Hex Code | #bb1e94 |
RGB Code | rgb(187, 30, 148) |
HSL Code | hsl(315, 72%, 43%) |
#bb1e94 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 30, 148); }
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(315, 72%, 43%); }
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 #bb1e94
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 30, 148, 10%) | #bb1e941a | |
rgb(187, 30, 148, 20%) | #bb1e9433 | |
rgb(187, 30, 148, 40%) | #bb1e944C | |
rgb(187, 30, 148, 60%) | #bb1e9499 | |
rgb(187, 30, 148, 80%) | #bb1e94CC | |
rgb(187, 30, 148, 100%) | #bb1e94FF |
Saturated and desaturated colors of #bb1e94
HSL Code | Preview |
---|---|
hsl(315, 10%, 43%) | |
hsl(315, 20%, 43%) | |
hsl(315, 40%, 43%) | |
hsl(315, 60%, 43%) | |
hsl(315, 80%, 43%) | |
hsl(315, 100%, 43%) |
#bb1e94 Color Usage In CSS
body { color: #bb1e94; } p { color: rgb(187, 30, 148); } header { border-bottom:1px solid #bb1e94; }