#21133b Color
Color Codes | |
---|---|
Hex Code | #21133b |
RGB Code | rgb(33, 19, 59) |
HSL Code | hsl(261, 51%, 15%) |
#21133b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 19, 59); }
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(261, 51%, 15%); }
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 #21133b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 19, 59, 10%) | #21133b1a | |
rgb(33, 19, 59, 20%) | #21133b33 | |
rgb(33, 19, 59, 40%) | #21133b4C | |
rgb(33, 19, 59, 60%) | #21133b99 | |
rgb(33, 19, 59, 80%) | #21133bCC | |
rgb(33, 19, 59, 100%) | #21133bFF |
Saturated and desaturated colors of #21133b
HSL Code | Preview |
---|---|
hsl(261, 10%, 15%) | |
hsl(261, 20%, 15%) | |
hsl(261, 40%, 15%) | |
hsl(261, 60%, 15%) | |
hsl(261, 80%, 15%) | |
hsl(261, 100%, 15%) |
#21133b Color Usage In CSS
body { color: #21133b; } p { color: rgb(33, 19, 59); } header { border-bottom:1px solid #21133b; }