#8003c0 Color
Color Codes | |
---|---|
Hex Code | #8003c0 |
RGB Code | rgb(128, 03, 192) |
HSL Code | hsl(280, 97%, 38%) |
#8003c0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(128, 03, 192); }
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(280, 97%, 38%); }
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 #8003c0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(128, 03, 192, 10%) | #8003c01a | |
rgb(128, 03, 192, 20%) | #8003c033 | |
rgb(128, 03, 192, 40%) | #8003c04C | |
rgb(128, 03, 192, 60%) | #8003c099 | |
rgb(128, 03, 192, 80%) | #8003c0CC | |
rgb(128, 03, 192, 100%) | #8003c0FF |
Saturated and desaturated colors of #8003c0
HSL Code | Preview |
---|---|
hsl(280, 10%, 38%) | |
hsl(280, 20%, 38%) | |
hsl(280, 40%, 38%) | |
hsl(280, 60%, 38%) | |
hsl(280, 80%, 38%) | |
hsl(280, 100%, 38%) |
#8003c0 Color Usage In CSS
body { color: #8003c0; } p { color: rgb(128, 03, 192); } header { border-bottom:1px solid #8003c0; }