#770cd7 Color
Color Codes | |
---|---|
Hex Code | #770cd7 |
RGB Code | rgb(119, 12, 215) |
HSL Code | hsl(272, 89%, 45%) |
#770cd7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(119, 12, 215); }
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(272, 89%, 45%); }
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 #770cd7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(119, 12, 215, 10%) | #770cd71a | |
rgb(119, 12, 215, 20%) | #770cd733 | |
rgb(119, 12, 215, 40%) | #770cd74C | |
rgb(119, 12, 215, 60%) | #770cd799 | |
rgb(119, 12, 215, 80%) | #770cd7CC | |
rgb(119, 12, 215, 100%) | #770cd7FF |
Saturated and desaturated colors of #770cd7
HSL Code | Preview |
---|---|
hsl(272, 10%, 45%) | |
hsl(272, 20%, 45%) | |
hsl(272, 40%, 45%) | |
hsl(272, 60%, 45%) | |
hsl(272, 80%, 45%) | |
hsl(272, 100%, 45%) |
#770cd7 Color Usage In CSS
body { color: #770cd7; } p { color: rgb(119, 12, 215); } header { border-bottom:1px solid #770cd7; }