#86227e Color
Color Codes | |
---|---|
Hex Code | #86227e |
RGB Code | rgb(134, 34, 126) |
HSL Code | hsl(305, 60%, 33%) |
#86227e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(134, 34, 126); }
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(305, 60%, 33%); }
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 #86227e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(134, 34, 126, 10%) | #86227e1a | |
rgb(134, 34, 126, 20%) | #86227e33 | |
rgb(134, 34, 126, 40%) | #86227e4C | |
rgb(134, 34, 126, 60%) | #86227e99 | |
rgb(134, 34, 126, 80%) | #86227eCC | |
rgb(134, 34, 126, 100%) | #86227eFF |
Saturated and desaturated colors of #86227e
HSL Code | Preview |
---|---|
hsl(305, 10%, 33%) | |
hsl(305, 20%, 33%) | |
hsl(305, 40%, 33%) | |
hsl(305, 60%, 33%) | |
hsl(305, 80%, 33%) | |
hsl(305, 100%, 33%) |
#86227e Color Usage In CSS
body { color: #86227e; } p { color: rgb(134, 34, 126); } header { border-bottom:1px solid #86227e; }