#901b44 Color
Color Codes | |
---|---|
Hex Code | #901b44 |
RGB Code | rgb(144, 27, 68) |
HSL Code | hsl(339, 68%, 34%) |
#901b44 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(144, 27, 68); }
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(339, 68%, 34%); }
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 #901b44
RGB Code | Hex Code | Preview |
---|---|---|
rgb(144, 27, 68, 10%) | #901b441a | |
rgb(144, 27, 68, 20%) | #901b4433 | |
rgb(144, 27, 68, 40%) | #901b444C | |
rgb(144, 27, 68, 60%) | #901b4499 | |
rgb(144, 27, 68, 80%) | #901b44CC | |
rgb(144, 27, 68, 100%) | #901b44FF |
Saturated and desaturated colors of #901b44
HSL Code | Preview |
---|---|
hsl(339, 10%, 34%) | |
hsl(339, 20%, 34%) | |
hsl(339, 40%, 34%) | |
hsl(339, 60%, 34%) | |
hsl(339, 80%, 34%) | |
hsl(339, 100%, 34%) |
#901b44 Color Usage In CSS
body { color: #901b44; } p { color: rgb(144, 27, 68); } header { border-bottom:1px solid #901b44; }