#9b0343 Color
Color Codes | |
---|---|
Hex Code | #9b0343 |
RGB Code | rgb(155, 03, 67) |
HSL Code | hsl(335, 96%, 31%) |
#9b0343 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 03, 67); }
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(335, 96%, 31%); }
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 #9b0343
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 03, 67, 10%) | #9b03431a | |
rgb(155, 03, 67, 20%) | #9b034333 | |
rgb(155, 03, 67, 40%) | #9b03434C | |
rgb(155, 03, 67, 60%) | #9b034399 | |
rgb(155, 03, 67, 80%) | #9b0343CC | |
rgb(155, 03, 67, 100%) | #9b0343FF |
Saturated and desaturated colors of #9b0343
HSL Code | Preview |
---|---|
hsl(335, 10%, 31%) | |
hsl(335, 20%, 31%) | |
hsl(335, 40%, 31%) | |
hsl(335, 60%, 31%) | |
hsl(335, 80%, 31%) | |
hsl(335, 100%, 31%) |
#9b0343 Color Usage In CSS
body { color: #9b0343; } p { color: rgb(155, 03, 67); } header { border-bottom:1px solid #9b0343; }