#c68ae8 Color
Color Codes | |
---|---|
Hex Code | #c68ae8 |
RGB Code | rgb(198, 138, 232) |
HSL Code | hsl(278, 67%, 73%) |
#c68ae8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 138, 232); }
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(278, 67%, 73%); }
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 #c68ae8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 138, 232, 10%) | #c68ae81a | |
rgb(198, 138, 232, 20%) | #c68ae833 | |
rgb(198, 138, 232, 40%) | #c68ae84C | |
rgb(198, 138, 232, 60%) | #c68ae899 | |
rgb(198, 138, 232, 80%) | #c68ae8CC | |
rgb(198, 138, 232, 100%) | #c68ae8FF |
Saturated and desaturated colors of #c68ae8
HSL Code | Preview |
---|---|
hsl(278, 10%, 73%) | |
hsl(278, 20%, 73%) | |
hsl(278, 40%, 73%) | |
hsl(278, 60%, 73%) | |
hsl(278, 80%, 73%) | |
hsl(278, 100%, 73%) |
#c68ae8 Color Usage In CSS
body { color: #c68ae8; } p { color: rgb(198, 138, 232); } header { border-bottom:1px solid #c68ae8; }