#c830c5 Color
Color Codes | |
---|---|
Hex Code | #c830c5 |
RGB Code | rgb(200, 48, 197) |
HSL Code | hsl(301, 61%, 49%) |
#c830c5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 48, 197); }
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(301, 61%, 49%); }
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 #c830c5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 48, 197, 10%) | #c830c51a | |
rgb(200, 48, 197, 20%) | #c830c533 | |
rgb(200, 48, 197, 40%) | #c830c54C | |
rgb(200, 48, 197, 60%) | #c830c599 | |
rgb(200, 48, 197, 80%) | #c830c5CC | |
rgb(200, 48, 197, 100%) | #c830c5FF |
Saturated and desaturated colors of #c830c5
HSL Code | Preview |
---|---|
hsl(301, 10%, 49%) | |
hsl(301, 20%, 49%) | |
hsl(301, 40%, 49%) | |
hsl(301, 60%, 49%) | |
hsl(301, 80%, 49%) | |
hsl(301, 100%, 49%) |
#c830c5 Color Usage In CSS
body { color: #c830c5; } p { color: rgb(200, 48, 197); } header { border-bottom:1px solid #c830c5; }