#6a8190 Color
Color Codes | |
---|---|
Hex Code | #6a8190 |
RGB Code | rgb(106, 129, 144) |
HSL Code | hsl(204, 15%, 49%) |
#6a8190 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(106, 129, 144); }
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(204, 15%, 49%); }
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 #6a8190
RGB Code | Hex Code | Preview |
---|---|---|
rgb(106, 129, 144, 10%) | #6a81901a | |
rgb(106, 129, 144, 20%) | #6a819033 | |
rgb(106, 129, 144, 40%) | #6a81904C | |
rgb(106, 129, 144, 60%) | #6a819099 | |
rgb(106, 129, 144, 80%) | #6a8190CC | |
rgb(106, 129, 144, 100%) | #6a8190FF |
Saturated and desaturated colors of #6a8190
HSL Code | Preview |
---|---|
hsl(204, 10%, 49%) | |
hsl(204, 20%, 49%) | |
hsl(204, 40%, 49%) | |
hsl(204, 60%, 49%) | |
hsl(204, 80%, 49%) | |
hsl(204, 100%, 49%) |
#6a8190 Color Usage In CSS
body { color: #6a8190; } p { color: rgb(106, 129, 144); } header { border-bottom:1px solid #6a8190; }