#200c5a Color
Color Codes | |
---|---|
Hex Code | #200c5a |
RGB Code | rgb(32, 12, 90) |
HSL Code | hsl(255, 76%, 20%) |
#200c5a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(32, 12, 90); }
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(255, 76%, 20%); }
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 #200c5a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(32, 12, 90, 10%) | #200c5a1a | |
rgb(32, 12, 90, 20%) | #200c5a33 | |
rgb(32, 12, 90, 40%) | #200c5a4C | |
rgb(32, 12, 90, 60%) | #200c5a99 | |
rgb(32, 12, 90, 80%) | #200c5aCC | |
rgb(32, 12, 90, 100%) | #200c5aFF |
Saturated and desaturated colors of #200c5a
HSL Code | Preview |
---|---|
hsl(255, 10%, 20%) | |
hsl(255, 20%, 20%) | |
hsl(255, 40%, 20%) | |
hsl(255, 60%, 20%) | |
hsl(255, 80%, 20%) | |
hsl(255, 100%, 20%) |
#200c5a Color Usage In CSS
body { color: #200c5a; } p { color: rgb(32, 12, 90); } header { border-bottom:1px solid #200c5a; }