#b836b8 Color
Color Codes | |
---|---|
Hex Code | #b836b8 |
RGB Code | rgb(184, 54, 184) |
HSL Code | hsl(300, 55%, 47%) |
#b836b8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(184, 54, 184); }
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(300, 55%, 47%); }
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 #b836b8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(184, 54, 184, 10%) | #b836b81a | |
rgb(184, 54, 184, 20%) | #b836b833 | |
rgb(184, 54, 184, 40%) | #b836b84C | |
rgb(184, 54, 184, 60%) | #b836b899 | |
rgb(184, 54, 184, 80%) | #b836b8CC | |
rgb(184, 54, 184, 100%) | #b836b8FF |
Saturated and desaturated colors of #b836b8
HSL Code | Preview |
---|---|
hsl(300, 10%, 47%) | |
hsl(300, 20%, 47%) | |
hsl(300, 40%, 47%) | |
hsl(300, 60%, 47%) | |
hsl(300, 80%, 47%) | |
hsl(300, 100%, 47%) |
#b836b8 Color Usage In CSS
body { color: #b836b8; } p { color: rgb(184, 54, 184); } header { border-bottom:1px solid #b836b8; }