#c694ff Color
Color Codes | |
---|---|
Hex Code | #c694ff |
RGB Code | rgb(198, 148, 255) |
HSL Code | hsl(268, 100%, 79%) |
#c694ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 148, 255); }
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(268, 100%, 79%); }
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 #c694ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 148, 255, 10%) | #c694ff1a | |
rgb(198, 148, 255, 20%) | #c694ff33 | |
rgb(198, 148, 255, 40%) | #c694ff4C | |
rgb(198, 148, 255, 60%) | #c694ff99 | |
rgb(198, 148, 255, 80%) | #c694ffCC | |
rgb(198, 148, 255, 100%) | #c694ffFF |
Saturated and desaturated colors of #c694ff
HSL Code | Preview |
---|---|
hsl(268, 10%, 79%) | |
hsl(268, 20%, 79%) | |
hsl(268, 40%, 79%) | |
hsl(268, 60%, 79%) | |
hsl(268, 80%, 79%) | |
hsl(268, 100%, 79%) |
#c694ff Color Usage In CSS
body { color: #c694ff; } p { color: rgb(198, 148, 255); } header { border-bottom:1px solid #c694ff; }