#330780 Color
Color Codes | |
---|---|
Hex Code | #330780 |
RGB Code | rgb(51, 07, 128) |
HSL Code | hsl(262, 90%, 26%) |
#330780 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(51, 07, 128); }
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(262, 90%, 26%); }
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 #330780
RGB Code | Hex Code | Preview |
---|---|---|
rgb(51, 07, 128, 10%) | #3307801a | |
rgb(51, 07, 128, 20%) | #33078033 | |
rgb(51, 07, 128, 40%) | #3307804C | |
rgb(51, 07, 128, 60%) | #33078099 | |
rgb(51, 07, 128, 80%) | #330780CC | |
rgb(51, 07, 128, 100%) | #330780FF |
Saturated and desaturated colors of #330780
HSL Code | Preview |
---|---|
hsl(262, 10%, 26%) | |
hsl(262, 20%, 26%) | |
hsl(262, 40%, 26%) | |
hsl(262, 60%, 26%) | |
hsl(262, 80%, 26%) | |
hsl(262, 100%, 26%) |
#330780 Color Usage In CSS
body { color: #330780; } p { color: rgb(51, 07, 128); } header { border-bottom:1px solid #330780; }