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