#c823db Color
Color Codes | |
---|---|
Hex Code | #c823db |
RGB Code | rgb(200, 35, 219) |
HSL Code | hsl(294, 72%, 50%) |
#c823db Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 35, 219); }
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(294, 72%, 50%); }
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 #c823db
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 35, 219, 10%) | #c823db1a | |
rgb(200, 35, 219, 20%) | #c823db33 | |
rgb(200, 35, 219, 40%) | #c823db4C | |
rgb(200, 35, 219, 60%) | #c823db99 | |
rgb(200, 35, 219, 80%) | #c823dbCC | |
rgb(200, 35, 219, 100%) | #c823dbFF |
Saturated and desaturated colors of #c823db
HSL Code | Preview |
---|---|
hsl(294, 10%, 50%) | |
hsl(294, 20%, 50%) | |
hsl(294, 40%, 50%) | |
hsl(294, 60%, 50%) | |
hsl(294, 80%, 50%) | |
hsl(294, 100%, 50%) |
#c823db Color Usage In CSS
body { color: #c823db; } p { color: rgb(200, 35, 219); } header { border-bottom:1px solid #c823db; }