#4b5965 Color
Color Codes | |
---|---|
Hex Code | #4b5965 |
RGB Code | rgb(75, 89, 101) |
HSL Code | hsl(208, 15%, 35%) |
#4b5965 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(75, 89, 101); }
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(208, 15%, 35%); }
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 #4b5965
RGB Code | Hex Code | Preview |
---|---|---|
rgb(75, 89, 101, 10%) | #4b59651a | |
rgb(75, 89, 101, 20%) | #4b596533 | |
rgb(75, 89, 101, 40%) | #4b59654C | |
rgb(75, 89, 101, 60%) | #4b596599 | |
rgb(75, 89, 101, 80%) | #4b5965CC | |
rgb(75, 89, 101, 100%) | #4b5965FF |
Saturated and desaturated colors of #4b5965
HSL Code | Preview |
---|---|
hsl(208, 10%, 35%) | |
hsl(208, 20%, 35%) | |
hsl(208, 40%, 35%) | |
hsl(208, 60%, 35%) | |
hsl(208, 80%, 35%) | |
hsl(208, 100%, 35%) |
#4b5965 Color Usage In CSS
body { color: #4b5965; } p { color: rgb(75, 89, 101); } header { border-bottom:1px solid #4b5965; }