#4099b8 Color
Color Codes | |
---|---|
Hex Code | #4099b8 |
RGB Code | rgb(64, 153, 184) |
HSL Code | hsl(196, 48%, 49%) |
#4099b8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 153, 184); }
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(196, 48%, 49%); }
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 #4099b8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 153, 184, 10%) | #4099b81a | |
rgb(64, 153, 184, 20%) | #4099b833 | |
rgb(64, 153, 184, 40%) | #4099b84C | |
rgb(64, 153, 184, 60%) | #4099b899 | |
rgb(64, 153, 184, 80%) | #4099b8CC | |
rgb(64, 153, 184, 100%) | #4099b8FF |
Saturated and desaturated colors of #4099b8
HSL Code | Preview |
---|---|
hsl(196, 10%, 49%) | |
hsl(196, 20%, 49%) | |
hsl(196, 40%, 49%) | |
hsl(196, 60%, 49%) | |
hsl(196, 80%, 49%) | |
hsl(196, 100%, 49%) |
#4099b8 Color Usage In CSS
body { color: #4099b8; } p { color: rgb(64, 153, 184); } header { border-bottom:1px solid #4099b8; }