#4c9fab Color
Color Codes | |
---|---|
Hex Code | #4c9fab |
RGB Code | rgb(76, 159, 171) |
HSL Code | hsl(188, 38%, 48%) |
#4c9fab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(76, 159, 171); }
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(188, 38%, 48%); }
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 #4c9fab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(76, 159, 171, 10%) | #4c9fab1a | |
rgb(76, 159, 171, 20%) | #4c9fab33 | |
rgb(76, 159, 171, 40%) | #4c9fab4C | |
rgb(76, 159, 171, 60%) | #4c9fab99 | |
rgb(76, 159, 171, 80%) | #4c9fabCC | |
rgb(76, 159, 171, 100%) | #4c9fabFF |
Saturated and desaturated colors of #4c9fab
HSL Code | Preview |
---|---|
hsl(188, 10%, 48%) | |
hsl(188, 20%, 48%) | |
hsl(188, 40%, 48%) | |
hsl(188, 60%, 48%) | |
hsl(188, 80%, 48%) | |
hsl(188, 100%, 48%) |
#4c9fab Color Usage In CSS
body { color: #4c9fab; } p { color: rgb(76, 159, 171); } header { border-bottom:1px solid #4c9fab; }