#b5225a Color
Color Codes | |
---|---|
Hex Code | #b5225a |
RGB Code | rgb(181, 34, 90) |
HSL Code | hsl(337, 68%, 42%) |
#b5225a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(181, 34, 90); }
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(337, 68%, 42%); }
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 #b5225a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(181, 34, 90, 10%) | #b5225a1a | |
rgb(181, 34, 90, 20%) | #b5225a33 | |
rgb(181, 34, 90, 40%) | #b5225a4C | |
rgb(181, 34, 90, 60%) | #b5225a99 | |
rgb(181, 34, 90, 80%) | #b5225aCC | |
rgb(181, 34, 90, 100%) | #b5225aFF |
Saturated and desaturated colors of #b5225a
HSL Code | Preview |
---|---|
hsl(337, 10%, 42%) | |
hsl(337, 20%, 42%) | |
hsl(337, 40%, 42%) | |
hsl(337, 60%, 42%) | |
hsl(337, 80%, 42%) | |
hsl(337, 100%, 42%) |
#b5225a Color Usage In CSS
body { color: #b5225a; } p { color: rgb(181, 34, 90); } header { border-bottom:1px solid #b5225a; }