#5199c9 Color
Color Codes | |
---|---|
Hex Code | #5199c9 |
RGB Code | rgb(81, 153, 201) |
HSL Code | hsl(204, 53%, 55%) |
#5199c9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 153, 201); }
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(204, 53%, 55%); }
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 #5199c9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 153, 201, 10%) | #5199c91a | |
rgb(81, 153, 201, 20%) | #5199c933 | |
rgb(81, 153, 201, 40%) | #5199c94C | |
rgb(81, 153, 201, 60%) | #5199c999 | |
rgb(81, 153, 201, 80%) | #5199c9CC | |
rgb(81, 153, 201, 100%) | #5199c9FF |
Saturated and desaturated colors of #5199c9
HSL Code | Preview |
---|---|
hsl(204, 10%, 55%) | |
hsl(204, 20%, 55%) | |
hsl(204, 40%, 55%) | |
hsl(204, 60%, 55%) | |
hsl(204, 80%, 55%) | |
hsl(204, 100%, 55%) |
#5199c9 Color Usage In CSS
body { color: #5199c9; } p { color: rgb(81, 153, 201); } header { border-bottom:1px solid #5199c9; }