#5659b5 Color
Color Codes | |
---|---|
Hex Code | #5659b5 |
RGB Code | rgb(86, 89, 181) |
HSL Code | hsl(238, 39%, 52%) |
#5659b5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(86, 89, 181); }
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(238, 39%, 52%); }
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 #5659b5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(86, 89, 181, 10%) | #5659b51a | |
rgb(86, 89, 181, 20%) | #5659b533 | |
rgb(86, 89, 181, 40%) | #5659b54C | |
rgb(86, 89, 181, 60%) | #5659b599 | |
rgb(86, 89, 181, 80%) | #5659b5CC | |
rgb(86, 89, 181, 100%) | #5659b5FF |
Saturated and desaturated colors of #5659b5
HSL Code | Preview |
---|---|
hsl(238, 10%, 52%) | |
hsl(238, 20%, 52%) | |
hsl(238, 40%, 52%) | |
hsl(238, 60%, 52%) | |
hsl(238, 80%, 52%) | |
hsl(238, 100%, 52%) |
#5659b5 Color Usage In CSS
body { color: #5659b5; } p { color: rgb(86, 89, 181); } header { border-bottom:1px solid #5659b5; }