#6ba2f3 Color
Color Codes | |
---|---|
Hex Code | #6ba2f3 |
RGB Code | rgb(107, 162, 243) |
HSL Code | hsl(216, 85%, 69%) |
#6ba2f3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(107, 162, 243); }
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(216, 85%, 69%); }
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 #6ba2f3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(107, 162, 243, 10%) | #6ba2f31a | |
rgb(107, 162, 243, 20%) | #6ba2f333 | |
rgb(107, 162, 243, 40%) | #6ba2f34C | |
rgb(107, 162, 243, 60%) | #6ba2f399 | |
rgb(107, 162, 243, 80%) | #6ba2f3CC | |
rgb(107, 162, 243, 100%) | #6ba2f3FF |
Saturated and desaturated colors of #6ba2f3
HSL Code | Preview |
---|---|
hsl(216, 10%, 69%) | |
hsl(216, 20%, 69%) | |
hsl(216, 40%, 69%) | |
hsl(216, 60%, 69%) | |
hsl(216, 80%, 69%) | |
hsl(216, 100%, 69%) |
#6ba2f3 Color Usage In CSS
body { color: #6ba2f3; } p { color: rgb(107, 162, 243); } header { border-bottom:1px solid #6ba2f3; }