#450ebd Color
Color Codes | |
---|---|
Hex Code | #450ebd |
RGB Code | rgb(69, 14, 189) |
HSL Code | hsl(259, 86%, 40%) |
#450ebd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(69, 14, 189); }
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, 86%, 40%); }
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 #450ebd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(69, 14, 189, 10%) | #450ebd1a | |
rgb(69, 14, 189, 20%) | #450ebd33 | |
rgb(69, 14, 189, 40%) | #450ebd4C | |
rgb(69, 14, 189, 60%) | #450ebd99 | |
rgb(69, 14, 189, 80%) | #450ebdCC | |
rgb(69, 14, 189, 100%) | #450ebdFF |
Saturated and desaturated colors of #450ebd
HSL Code | Preview |
---|---|
hsl(259, 10%, 40%) | |
hsl(259, 20%, 40%) | |
hsl(259, 40%, 40%) | |
hsl(259, 60%, 40%) | |
hsl(259, 80%, 40%) | |
hsl(259, 100%, 40%) |
#450ebd Color Usage In CSS
body { color: #450ebd; } p { color: rgb(69, 14, 189); } header { border-bottom:1px solid #450ebd; }