#c380e4 Color
Color Codes | |
---|---|
Hex Code | #c380e4 |
RGB Code | rgb(195, 128, 228) |
HSL Code | hsl(280, 65%, 70%) |
#c380e4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 128, 228); }
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, 65%, 70%); }
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 #c380e4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 128, 228, 10%) | #c380e41a | |
rgb(195, 128, 228, 20%) | #c380e433 | |
rgb(195, 128, 228, 40%) | #c380e44C | |
rgb(195, 128, 228, 60%) | #c380e499 | |
rgb(195, 128, 228, 80%) | #c380e4CC | |
rgb(195, 128, 228, 100%) | #c380e4FF |
Saturated and desaturated colors of #c380e4
HSL Code | Preview |
---|---|
hsl(280, 10%, 70%) | |
hsl(280, 20%, 70%) | |
hsl(280, 40%, 70%) | |
hsl(280, 60%, 70%) | |
hsl(280, 80%, 70%) | |
hsl(280, 100%, 70%) |
#c380e4 Color Usage In CSS
body { color: #c380e4; } p { color: rgb(195, 128, 228); } header { border-bottom:1px solid #c380e4; }