#350ba5 Color
Color Codes | |
---|---|
Hex Code | #350ba5 |
RGB Code | rgb(53, 11, 165) |
HSL Code | hsl(256, 88%, 35%) |
#350ba5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(53, 11, 165); }
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, 88%, 35%); }
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 #350ba5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(53, 11, 165, 10%) | #350ba51a | |
rgb(53, 11, 165, 20%) | #350ba533 | |
rgb(53, 11, 165, 40%) | #350ba54C | |
rgb(53, 11, 165, 60%) | #350ba599 | |
rgb(53, 11, 165, 80%) | #350ba5CC | |
rgb(53, 11, 165, 100%) | #350ba5FF |
Saturated and desaturated colors of #350ba5
HSL Code | Preview |
---|---|
hsl(256, 10%, 35%) | |
hsl(256, 20%, 35%) | |
hsl(256, 40%, 35%) | |
hsl(256, 60%, 35%) | |
hsl(256, 80%, 35%) | |
hsl(256, 100%, 35%) |
#350ba5 Color Usage In CSS
body { color: #350ba5; } p { color: rgb(53, 11, 165); } header { border-bottom:1px solid #350ba5; }