#66b6ef Color
Color Codes | |
---|---|
Hex Code | #66b6ef |
RGB Code | rgb(102, 182, 239) |
HSL Code | hsl(205, 81%, 67%) |
#66b6ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(102, 182, 239); }
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(205, 81%, 67%); }
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 #66b6ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(102, 182, 239, 10%) | #66b6ef1a | |
rgb(102, 182, 239, 20%) | #66b6ef33 | |
rgb(102, 182, 239, 40%) | #66b6ef4C | |
rgb(102, 182, 239, 60%) | #66b6ef99 | |
rgb(102, 182, 239, 80%) | #66b6efCC | |
rgb(102, 182, 239, 100%) | #66b6efFF |
Saturated and desaturated colors of #66b6ef
HSL Code | Preview |
---|---|
hsl(205, 10%, 67%) | |
hsl(205, 20%, 67%) | |
hsl(205, 40%, 67%) | |
hsl(205, 60%, 67%) | |
hsl(205, 80%, 67%) | |
hsl(205, 100%, 67%) |
#66b6ef Color Usage In CSS
body { color: #66b6ef; } p { color: rgb(102, 182, 239); } header { border-bottom:1px solid #66b6ef; }