#841273 Color
Color Codes | |
---|---|
Hex Code | #841273 |
RGB Code | rgb(132, 18, 115) |
HSL Code | hsl(309, 76%, 29%) |
#841273 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(132, 18, 115); }
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(309, 76%, 29%); }
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 #841273
RGB Code | Hex Code | Preview |
---|---|---|
rgb(132, 18, 115, 10%) | #8412731a | |
rgb(132, 18, 115, 20%) | #84127333 | |
rgb(132, 18, 115, 40%) | #8412734C | |
rgb(132, 18, 115, 60%) | #84127399 | |
rgb(132, 18, 115, 80%) | #841273CC | |
rgb(132, 18, 115, 100%) | #841273FF |
Saturated and desaturated colors of #841273
HSL Code | Preview |
---|---|
hsl(309, 10%, 29%) | |
hsl(309, 20%, 29%) | |
hsl(309, 40%, 29%) | |
hsl(309, 60%, 29%) | |
hsl(309, 80%, 29%) | |
hsl(309, 100%, 29%) |
#841273 Color Usage In CSS
body { color: #841273; } p { color: rgb(132, 18, 115); } header { border-bottom:1px solid #841273; }