#791dae Color
Color Codes | |
---|---|
Hex Code | #791dae |
RGB Code | rgb(121, 29, 174) |
HSL Code | hsl(278, 71%, 40%) |
#791dae Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 29, 174); }
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(278, 71%, 40%); }
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 #791dae
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 29, 174, 10%) | #791dae1a | |
rgb(121, 29, 174, 20%) | #791dae33 | |
rgb(121, 29, 174, 40%) | #791dae4C | |
rgb(121, 29, 174, 60%) | #791dae99 | |
rgb(121, 29, 174, 80%) | #791daeCC | |
rgb(121, 29, 174, 100%) | #791daeFF |
Saturated and desaturated colors of #791dae
HSL Code | Preview |
---|---|
hsl(278, 10%, 40%) | |
hsl(278, 20%, 40%) | |
hsl(278, 40%, 40%) | |
hsl(278, 60%, 40%) | |
hsl(278, 80%, 40%) | |
hsl(278, 100%, 40%) |
#791dae Color Usage In CSS
body { color: #791dae; } p { color: rgb(121, 29, 174); } header { border-bottom:1px solid #791dae; }