#080496 Color
Color Codes | |
---|---|
Hex Code | #080496 |
RGB Code | rgb(08, 04, 150) |
HSL Code | hsl(242, 95%, 30%) |
#080496 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(08, 04, 150); }
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(242, 95%, 30%); }
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 #080496
RGB Code | Hex Code | Preview |
---|---|---|
rgb(08, 04, 150, 10%) | #0804961a | |
rgb(08, 04, 150, 20%) | #08049633 | |
rgb(08, 04, 150, 40%) | #0804964C | |
rgb(08, 04, 150, 60%) | #08049699 | |
rgb(08, 04, 150, 80%) | #080496CC | |
rgb(08, 04, 150, 100%) | #080496FF |
Saturated and desaturated colors of #080496
HSL Code | Preview |
---|---|
hsl(242, 10%, 30%) | |
hsl(242, 20%, 30%) | |
hsl(242, 40%, 30%) | |
hsl(242, 60%, 30%) | |
hsl(242, 80%, 30%) | |
hsl(242, 100%, 30%) |
#080496 Color Usage In CSS
body { color: #080496; } p { color: rgb(08, 04, 150); } header { border-bottom:1px solid #080496; }