#620a3a Color
Color Codes | |
---|---|
Hex Code | #620a3a |
RGB Code | rgb(98, 10, 58) |
HSL Code | hsl(327, 81%, 21%) |
#620a3a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(98, 10, 58); }
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(327, 81%, 21%); }
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 #620a3a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(98, 10, 58, 10%) | #620a3a1a | |
rgb(98, 10, 58, 20%) | #620a3a33 | |
rgb(98, 10, 58, 40%) | #620a3a4C | |
rgb(98, 10, 58, 60%) | #620a3a99 | |
rgb(98, 10, 58, 80%) | #620a3aCC | |
rgb(98, 10, 58, 100%) | #620a3aFF |
Saturated and desaturated colors of #620a3a
HSL Code | Preview |
---|---|
hsl(327, 10%, 21%) | |
hsl(327, 20%, 21%) | |
hsl(327, 40%, 21%) | |
hsl(327, 60%, 21%) | |
hsl(327, 80%, 21%) | |
hsl(327, 100%, 21%) |
#620a3a Color Usage In CSS
body { color: #620a3a; } p { color: rgb(98, 10, 58); } header { border-bottom:1px solid #620a3a; }