#665296 Color
Color Codes | |
---|---|
Hex Code | #665296 |
RGB Code | rgb(102, 82, 150) |
HSL Code | hsl(258, 29%, 45%) |
#665296 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(102, 82, 150); }
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(258, 29%, 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 #665296
RGB Code | Hex Code | Preview |
---|---|---|
rgb(102, 82, 150, 10%) | #6652961a | |
rgb(102, 82, 150, 20%) | #66529633 | |
rgb(102, 82, 150, 40%) | #6652964C | |
rgb(102, 82, 150, 60%) | #66529699 | |
rgb(102, 82, 150, 80%) | #665296CC | |
rgb(102, 82, 150, 100%) | #665296FF |
Saturated and desaturated colors of #665296
HSL Code | Preview |
---|---|
hsl(258, 10%, 45%) | |
hsl(258, 20%, 45%) | |
hsl(258, 40%, 45%) | |
hsl(258, 60%, 45%) | |
hsl(258, 80%, 45%) | |
hsl(258, 100%, 45%) |
#665296 Color Usage In CSS
body { color: #665296; } p { color: rgb(102, 82, 150); } header { border-bottom:1px solid #665296; }