#774af8 Color
Color Codes | |
---|---|
Hex Code | #774af8 |
RGB Code | rgb(119, 74, 248) |
HSL Code | hsl(256, 93%, 63%) |
#774af8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(119, 74, 248); }
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(256, 93%, 63%); }
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 #774af8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(119, 74, 248, 10%) | #774af81a | |
rgb(119, 74, 248, 20%) | #774af833 | |
rgb(119, 74, 248, 40%) | #774af84C | |
rgb(119, 74, 248, 60%) | #774af899 | |
rgb(119, 74, 248, 80%) | #774af8CC | |
rgb(119, 74, 248, 100%) | #774af8FF |
Saturated and desaturated colors of #774af8
HSL Code | Preview |
---|---|
hsl(256, 10%, 63%) | |
hsl(256, 20%, 63%) | |
hsl(256, 40%, 63%) | |
hsl(256, 60%, 63%) | |
hsl(256, 80%, 63%) | |
hsl(256, 100%, 63%) |
#774af8 Color Usage In CSS
body { color: #774af8; } p { color: rgb(119, 74, 248); } header { border-bottom:1px solid #774af8; }