#630eca Color
Color Codes | |
---|---|
Hex Code | #630eca |
RGB Code | rgb(99, 14, 202) |
HSL Code | hsl(267, 87%, 42%) |
#630eca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(99, 14, 202); }
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(267, 87%, 42%); }
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 #630eca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(99, 14, 202, 10%) | #630eca1a | |
rgb(99, 14, 202, 20%) | #630eca33 | |
rgb(99, 14, 202, 40%) | #630eca4C | |
rgb(99, 14, 202, 60%) | #630eca99 | |
rgb(99, 14, 202, 80%) | #630ecaCC | |
rgb(99, 14, 202, 100%) | #630ecaFF |
Saturated and desaturated colors of #630eca
HSL Code | Preview |
---|---|
hsl(267, 10%, 42%) | |
hsl(267, 20%, 42%) | |
hsl(267, 40%, 42%) | |
hsl(267, 60%, 42%) | |
hsl(267, 80%, 42%) | |
hsl(267, 100%, 42%) |
#630eca Color Usage In CSS
body { color: #630eca; } p { color: rgb(99, 14, 202); } header { border-bottom:1px solid #630eca; }