#630d52 Color
Color Codes | |
---|---|
Hex Code | #630d52 |
RGB Code | rgb(99, 13, 82) |
HSL Code | hsl(312, 77%, 22%) |
#630d52 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(99, 13, 82); }
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(312, 77%, 22%); }
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 #630d52
RGB Code | Hex Code | Preview |
---|---|---|
rgb(99, 13, 82, 10%) | #630d521a | |
rgb(99, 13, 82, 20%) | #630d5233 | |
rgb(99, 13, 82, 40%) | #630d524C | |
rgb(99, 13, 82, 60%) | #630d5299 | |
rgb(99, 13, 82, 80%) | #630d52CC | |
rgb(99, 13, 82, 100%) | #630d52FF |
Saturated and desaturated colors of #630d52
HSL Code | Preview |
---|---|
hsl(312, 10%, 22%) | |
hsl(312, 20%, 22%) | |
hsl(312, 40%, 22%) | |
hsl(312, 60%, 22%) | |
hsl(312, 80%, 22%) | |
hsl(312, 100%, 22%) |
#630d52 Color Usage In CSS
body { color: #630d52; } p { color: rgb(99, 13, 82); } header { border-bottom:1px solid #630d52; }