#50358b Color
Color Codes | |
---|---|
Hex Code | #50358b |
RGB Code | rgb(80, 53, 139) |
HSL Code | hsl(259, 45%, 38%) |
#50358b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(80, 53, 139); }
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(259, 45%, 38%); }
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 #50358b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(80, 53, 139, 10%) | #50358b1a | |
rgb(80, 53, 139, 20%) | #50358b33 | |
rgb(80, 53, 139, 40%) | #50358b4C | |
rgb(80, 53, 139, 60%) | #50358b99 | |
rgb(80, 53, 139, 80%) | #50358bCC | |
rgb(80, 53, 139, 100%) | #50358bFF |
Saturated and desaturated colors of #50358b
HSL Code | Preview |
---|---|
hsl(259, 10%, 38%) | |
hsl(259, 20%, 38%) | |
hsl(259, 40%, 38%) | |
hsl(259, 60%, 38%) | |
hsl(259, 80%, 38%) | |
hsl(259, 100%, 38%) |
#50358b Color Usage In CSS
body { color: #50358b; } p { color: rgb(80, 53, 139); } header { border-bottom:1px solid #50358b; }