#81269a Color
Color Codes | |
---|---|
Hex Code | #81269a |
RGB Code | rgb(129, 38, 154) |
HSL Code | hsl(287, 60%, 38%) |
#81269a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(129, 38, 154); }
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(287, 60%, 38%); }
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 #81269a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(129, 38, 154, 10%) | #81269a1a | |
rgb(129, 38, 154, 20%) | #81269a33 | |
rgb(129, 38, 154, 40%) | #81269a4C | |
rgb(129, 38, 154, 60%) | #81269a99 | |
rgb(129, 38, 154, 80%) | #81269aCC | |
rgb(129, 38, 154, 100%) | #81269aFF |
Saturated and desaturated colors of #81269a
HSL Code | Preview |
---|---|
hsl(287, 10%, 38%) | |
hsl(287, 20%, 38%) | |
hsl(287, 40%, 38%) | |
hsl(287, 60%, 38%) | |
hsl(287, 80%, 38%) | |
hsl(287, 100%, 38%) |
#81269a Color Usage In CSS
body { color: #81269a; } p { color: rgb(129, 38, 154); } header { border-bottom:1px solid #81269a; }