#6878ff Color
Color Codes | |
---|---|
Hex Code | #6878ff |
RGB Code | rgb(104, 120, 255) |
HSL Code | hsl(234, 100%, 70%) |
#6878ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(104, 120, 255); }
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(234, 100%, 70%); }
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 #6878ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(104, 120, 255, 10%) | #6878ff1a | |
rgb(104, 120, 255, 20%) | #6878ff33 | |
rgb(104, 120, 255, 40%) | #6878ff4C | |
rgb(104, 120, 255, 60%) | #6878ff99 | |
rgb(104, 120, 255, 80%) | #6878ffCC | |
rgb(104, 120, 255, 100%) | #6878ffFF |
Saturated and desaturated colors of #6878ff
HSL Code | Preview |
---|---|
hsl(234, 10%, 70%) | |
hsl(234, 20%, 70%) | |
hsl(234, 40%, 70%) | |
hsl(234, 60%, 70%) | |
hsl(234, 80%, 70%) | |
hsl(234, 100%, 70%) |
#6878ff Color Usage In CSS
body { color: #6878ff; } p { color: rgb(104, 120, 255); } header { border-bottom:1px solid #6878ff; }