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