#6d7cac Color
Color Codes | |
---|---|
Hex Code | #6d7cac |
RGB Code | rgb(109, 124, 172) |
HSL Code | hsl(226, 28%, 55%) |
#6d7cac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(109, 124, 172); }
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(226, 28%, 55%); }
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 #6d7cac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(109, 124, 172, 10%) | #6d7cac1a | |
rgb(109, 124, 172, 20%) | #6d7cac33 | |
rgb(109, 124, 172, 40%) | #6d7cac4C | |
rgb(109, 124, 172, 60%) | #6d7cac99 | |
rgb(109, 124, 172, 80%) | #6d7cacCC | |
rgb(109, 124, 172, 100%) | #6d7cacFF |
Saturated and desaturated colors of #6d7cac
HSL Code | Preview |
---|---|
hsl(226, 10%, 55%) | |
hsl(226, 20%, 55%) | |
hsl(226, 40%, 55%) | |
hsl(226, 60%, 55%) | |
hsl(226, 80%, 55%) | |
hsl(226, 100%, 55%) |
#6d7cac Color Usage In CSS
body { color: #6d7cac; } p { color: rgb(109, 124, 172); } header { border-bottom:1px solid #6d7cac; }