#796ced Color
Color Codes | |
---|---|
Hex Code | #796ced |
RGB Code | rgb(121, 108, 237) |
HSL Code | hsl(246, 78%, 68%) |
#796ced Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 108, 237); }
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(246, 78%, 68%); }
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 #796ced
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 108, 237, 10%) | #796ced1a | |
rgb(121, 108, 237, 20%) | #796ced33 | |
rgb(121, 108, 237, 40%) | #796ced4C | |
rgb(121, 108, 237, 60%) | #796ced99 | |
rgb(121, 108, 237, 80%) | #796cedCC | |
rgb(121, 108, 237, 100%) | #796cedFF |
Saturated and desaturated colors of #796ced
HSL Code | Preview |
---|---|
hsl(246, 10%, 68%) | |
hsl(246, 20%, 68%) | |
hsl(246, 40%, 68%) | |
hsl(246, 60%, 68%) | |
hsl(246, 80%, 68%) | |
hsl(246, 100%, 68%) |
#796ced Color Usage In CSS
body { color: #796ced; } p { color: rgb(121, 108, 237); } header { border-bottom:1px solid #796ced; }