#b935be Color
Color Codes | |
---|---|
Hex Code | #b935be |
RGB Code | rgb(185, 53, 190) |
HSL Code | hsl(298, 56%, 48%) |
#b935be Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 53, 190); }
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(298, 56%, 48%); }
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 #b935be
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 53, 190, 10%) | #b935be1a | |
rgb(185, 53, 190, 20%) | #b935be33 | |
rgb(185, 53, 190, 40%) | #b935be4C | |
rgb(185, 53, 190, 60%) | #b935be99 | |
rgb(185, 53, 190, 80%) | #b935beCC | |
rgb(185, 53, 190, 100%) | #b935beFF |
Saturated and desaturated colors of #b935be
HSL Code | Preview |
---|---|
hsl(298, 10%, 48%) | |
hsl(298, 20%, 48%) | |
hsl(298, 40%, 48%) | |
hsl(298, 60%, 48%) | |
hsl(298, 80%, 48%) | |
hsl(298, 100%, 48%) |
#b935be Color Usage In CSS
body { color: #b935be; } p { color: rgb(185, 53, 190); } header { border-bottom:1px solid #b935be; }