#08397e Color
Color Codes | |
---|---|
Hex Code | #08397e |
RGB Code | rgb(08, 57, 126) |
HSL Code | hsl(215, 88%, 26%) |
#08397e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(08, 57, 126); }
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(215, 88%, 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 #08397e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(08, 57, 126, 10%) | #08397e1a | |
rgb(08, 57, 126, 20%) | #08397e33 | |
rgb(08, 57, 126, 40%) | #08397e4C | |
rgb(08, 57, 126, 60%) | #08397e99 | |
rgb(08, 57, 126, 80%) | #08397eCC | |
rgb(08, 57, 126, 100%) | #08397eFF |
Saturated and desaturated colors of #08397e
HSL Code | Preview |
---|---|
hsl(215, 10%, 26%) | |
hsl(215, 20%, 26%) | |
hsl(215, 40%, 26%) | |
hsl(215, 60%, 26%) | |
hsl(215, 80%, 26%) | |
hsl(215, 100%, 26%) |
#08397e Color Usage In CSS
body { color: #08397e; } p { color: rgb(08, 57, 126); } header { border-bottom:1px solid #08397e; }