#b45f6a Color
Color Codes | |
---|---|
Hex Code | #b45f6a |
RGB Code | rgb(180, 95, 106) |
HSL Code | hsl(352, 36%, 54%) |
#b45f6a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(180, 95, 106); }
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(352, 36%, 54%); }
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 #b45f6a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(180, 95, 106, 10%) | #b45f6a1a | |
rgb(180, 95, 106, 20%) | #b45f6a33 | |
rgb(180, 95, 106, 40%) | #b45f6a4C | |
rgb(180, 95, 106, 60%) | #b45f6a99 | |
rgb(180, 95, 106, 80%) | #b45f6aCC | |
rgb(180, 95, 106, 100%) | #b45f6aFF |
Saturated and desaturated colors of #b45f6a
HSL Code | Preview |
---|---|
hsl(352, 10%, 54%) | |
hsl(352, 20%, 54%) | |
hsl(352, 40%, 54%) | |
hsl(352, 60%, 54%) | |
hsl(352, 80%, 54%) | |
hsl(352, 100%, 54%) |
#b45f6a Color Usage In CSS
body { color: #b45f6a; } p { color: rgb(180, 95, 106); } header { border-bottom:1px solid #b45f6a; }