#6a687b Color
Color Codes | |
---|---|
Hex Code | #6a687b |
RGB Code | rgb(106, 104, 123) |
HSL Code | hsl(246, 8%, 45%) |
#6a687b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(106, 104, 123); }
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(246, 8%, 45%); }
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 #6a687b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(106, 104, 123, 10%) | #6a687b1a | |
rgb(106, 104, 123, 20%) | #6a687b33 | |
rgb(106, 104, 123, 40%) | #6a687b4C | |
rgb(106, 104, 123, 60%) | #6a687b99 | |
rgb(106, 104, 123, 80%) | #6a687bCC | |
rgb(106, 104, 123, 100%) | #6a687bFF |
Saturated and desaturated colors of #6a687b
HSL Code | Preview |
---|---|
hsl(246, 10%, 45%) | |
hsl(246, 20%, 45%) | |
hsl(246, 40%, 45%) | |
hsl(246, 60%, 45%) | |
hsl(246, 80%, 45%) | |
hsl(246, 100%, 45%) |
#6a687b Color Usage In CSS
body { color: #6a687b; } p { color: rgb(106, 104, 123); } header { border-bottom:1px solid #6a687b; }