#b768ca Color
Color Codes | |
---|---|
Hex Code | #b768ca |
RGB Code | rgb(183, 104, 202) |
HSL Code | hsl(288, 48%, 60%) |
#b768ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(183, 104, 202); }
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(288, 48%, 60%); }
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 #b768ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(183, 104, 202, 10%) | #b768ca1a | |
rgb(183, 104, 202, 20%) | #b768ca33 | |
rgb(183, 104, 202, 40%) | #b768ca4C | |
rgb(183, 104, 202, 60%) | #b768ca99 | |
rgb(183, 104, 202, 80%) | #b768caCC | |
rgb(183, 104, 202, 100%) | #b768caFF |
Saturated and desaturated colors of #b768ca
HSL Code | Preview |
---|---|
hsl(288, 10%, 60%) | |
hsl(288, 20%, 60%) | |
hsl(288, 40%, 60%) | |
hsl(288, 60%, 60%) | |
hsl(288, 80%, 60%) | |
hsl(288, 100%, 60%) |
#b768ca Color Usage In CSS
body { color: #b768ca; } p { color: rgb(183, 104, 202); } header { border-bottom:1px solid #b768ca; }