#608faf Color
Color Codes | |
---|---|
Hex Code | #608faf |
RGB Code | rgb(96, 143, 175) |
HSL Code | hsl(204, 33%, 53%) |
#608faf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(96, 143, 175); }
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, 33%, 53%); }
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 #608faf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(96, 143, 175, 10%) | #608faf1a | |
rgb(96, 143, 175, 20%) | #608faf33 | |
rgb(96, 143, 175, 40%) | #608faf4C | |
rgb(96, 143, 175, 60%) | #608faf99 | |
rgb(96, 143, 175, 80%) | #608fafCC | |
rgb(96, 143, 175, 100%) | #608fafFF |
Saturated and desaturated colors of #608faf
HSL Code | Preview |
---|---|
hsl(204, 10%, 53%) | |
hsl(204, 20%, 53%) | |
hsl(204, 40%, 53%) | |
hsl(204, 60%, 53%) | |
hsl(204, 80%, 53%) | |
hsl(204, 100%, 53%) |
#608faf Color Usage In CSS
body { color: #608faf; } p { color: rgb(96, 143, 175); } header { border-bottom:1px solid #608faf; }