#b93d5c Color
Color Codes | |
---|---|
Hex Code | #b93d5c |
RGB Code | rgb(185, 61, 92) |
HSL Code | hsl(345, 50%, 48%) |
#b93d5c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 61, 92); }
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(345, 50%, 48%); }
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 #b93d5c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 61, 92, 10%) | #b93d5c1a | |
rgb(185, 61, 92, 20%) | #b93d5c33 | |
rgb(185, 61, 92, 40%) | #b93d5c4C | |
rgb(185, 61, 92, 60%) | #b93d5c99 | |
rgb(185, 61, 92, 80%) | #b93d5cCC | |
rgb(185, 61, 92, 100%) | #b93d5cFF |
Saturated and desaturated colors of #b93d5c
HSL Code | Preview |
---|---|
hsl(345, 10%, 48%) | |
hsl(345, 20%, 48%) | |
hsl(345, 40%, 48%) | |
hsl(345, 60%, 48%) | |
hsl(345, 80%, 48%) | |
hsl(345, 100%, 48%) |
#b93d5c Color Usage In CSS
body { color: #b93d5c; } p { color: rgb(185, 61, 92); } header { border-bottom:1px solid #b93d5c; }