#7758c6 Color
Color Codes | |
---|---|
Hex Code | #7758c6 |
RGB Code | rgb(119, 88, 198) |
HSL Code | hsl(257, 49%, 56%) |
#7758c6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(119, 88, 198); }
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(257, 49%, 56%); }
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 #7758c6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(119, 88, 198, 10%) | #7758c61a | |
rgb(119, 88, 198, 20%) | #7758c633 | |
rgb(119, 88, 198, 40%) | #7758c64C | |
rgb(119, 88, 198, 60%) | #7758c699 | |
rgb(119, 88, 198, 80%) | #7758c6CC | |
rgb(119, 88, 198, 100%) | #7758c6FF |
Saturated and desaturated colors of #7758c6
HSL Code | Preview |
---|---|
hsl(257, 10%, 56%) | |
hsl(257, 20%, 56%) | |
hsl(257, 40%, 56%) | |
hsl(257, 60%, 56%) | |
hsl(257, 80%, 56%) | |
hsl(257, 100%, 56%) |
#7758c6 Color Usage In CSS
body { color: #7758c6; } p { color: rgb(119, 88, 198); } header { border-bottom:1px solid #7758c6; }