#a00233 Color
Color Codes | |
---|---|
Hex Code | #a00233 |
RGB Code | rgb(160, 02, 51) |
HSL Code | hsl(341, 98%, 32%) |
#a00233 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(160, 02, 51); }
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(341, 98%, 32%); }
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 #a00233
RGB Code | Hex Code | Preview |
---|---|---|
rgb(160, 02, 51, 10%) | #a002331a | |
rgb(160, 02, 51, 20%) | #a0023333 | |
rgb(160, 02, 51, 40%) | #a002334C | |
rgb(160, 02, 51, 60%) | #a0023399 | |
rgb(160, 02, 51, 80%) | #a00233CC | |
rgb(160, 02, 51, 100%) | #a00233FF |
Saturated and desaturated colors of #a00233
HSL Code | Preview |
---|---|
hsl(341, 10%, 32%) | |
hsl(341, 20%, 32%) | |
hsl(341, 40%, 32%) | |
hsl(341, 60%, 32%) | |
hsl(341, 80%, 32%) | |
hsl(341, 100%, 32%) |
#a00233 Color Usage In CSS
body { color: #a00233; } p { color: rgb(160, 02, 51); } header { border-bottom:1px solid #a00233; }