#380aa9 Color
Color Codes | |
---|---|
Hex Code | #380aa9 |
RGB Code | rgb(56, 10, 169) |
HSL Code | hsl(257, 89%, 35%) |
#380aa9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 10, 169); }
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(257, 89%, 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 #380aa9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 10, 169, 10%) | #380aa91a | |
rgb(56, 10, 169, 20%) | #380aa933 | |
rgb(56, 10, 169, 40%) | #380aa94C | |
rgb(56, 10, 169, 60%) | #380aa999 | |
rgb(56, 10, 169, 80%) | #380aa9CC | |
rgb(56, 10, 169, 100%) | #380aa9FF |
Saturated and desaturated colors of #380aa9
HSL Code | Preview |
---|---|
hsl(257, 10%, 35%) | |
hsl(257, 20%, 35%) | |
hsl(257, 40%, 35%) | |
hsl(257, 60%, 35%) | |
hsl(257, 80%, 35%) | |
hsl(257, 100%, 35%) |
#380aa9 Color Usage In CSS
body { color: #380aa9; } p { color: rgb(56, 10, 169); } header { border-bottom:1px solid #380aa9; }