#bd5f78 Color
Color Codes | |
---|---|
Hex Code | #bd5f78 |
RGB Code | rgb(189, 95, 120) |
HSL Code | hsl(344, 42%, 56%) |
#bd5f78 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 95, 120); }
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(344, 42%, 56%); }
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 #bd5f78
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 95, 120, 10%) | #bd5f781a | |
rgb(189, 95, 120, 20%) | #bd5f7833 | |
rgb(189, 95, 120, 40%) | #bd5f784C | |
rgb(189, 95, 120, 60%) | #bd5f7899 | |
rgb(189, 95, 120, 80%) | #bd5f78CC | |
rgb(189, 95, 120, 100%) | #bd5f78FF |
Saturated and desaturated colors of #bd5f78
HSL Code | Preview |
---|---|
hsl(344, 10%, 56%) | |
hsl(344, 20%, 56%) | |
hsl(344, 40%, 56%) | |
hsl(344, 60%, 56%) | |
hsl(344, 80%, 56%) | |
hsl(344, 100%, 56%) |
#bd5f78 Color Usage In CSS
body { color: #bd5f78; } p { color: rgb(189, 95, 120); } header { border-bottom:1px solid #bd5f78; }