#770ed0 Color
Color Codes | |
---|---|
Hex Code | #770ed0 |
RGB Code | rgb(119, 14, 208) |
HSL Code | hsl(272, 87%, 44%) |
#770ed0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(119, 14, 208); }
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, 87%, 44%); }
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 #770ed0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(119, 14, 208, 10%) | #770ed01a | |
rgb(119, 14, 208, 20%) | #770ed033 | |
rgb(119, 14, 208, 40%) | #770ed04C | |
rgb(119, 14, 208, 60%) | #770ed099 | |
rgb(119, 14, 208, 80%) | #770ed0CC | |
rgb(119, 14, 208, 100%) | #770ed0FF |
Saturated and desaturated colors of #770ed0
HSL Code | Preview |
---|---|
hsl(272, 10%, 44%) | |
hsl(272, 20%, 44%) | |
hsl(272, 40%, 44%) | |
hsl(272, 60%, 44%) | |
hsl(272, 80%, 44%) | |
hsl(272, 100%, 44%) |
#770ed0 Color Usage In CSS
body { color: #770ed0; } p { color: rgb(119, 14, 208); } header { border-bottom:1px solid #770ed0; }