#c33ab9 Color
Color Codes | |
---|---|
Hex Code | #c33ab9 |
RGB Code | rgb(195, 58, 185) |
HSL Code | hsl(304, 54%, 50%) |
#c33ab9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 58, 185); }
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(304, 54%, 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 #c33ab9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 58, 185, 10%) | #c33ab91a | |
rgb(195, 58, 185, 20%) | #c33ab933 | |
rgb(195, 58, 185, 40%) | #c33ab94C | |
rgb(195, 58, 185, 60%) | #c33ab999 | |
rgb(195, 58, 185, 80%) | #c33ab9CC | |
rgb(195, 58, 185, 100%) | #c33ab9FF |
Saturated and desaturated colors of #c33ab9
HSL Code | Preview |
---|---|
hsl(304, 10%, 50%) | |
hsl(304, 20%, 50%) | |
hsl(304, 40%, 50%) | |
hsl(304, 60%, 50%) | |
hsl(304, 80%, 50%) | |
hsl(304, 100%, 50%) |
#c33ab9 Color Usage In CSS
body { color: #c33ab9; } p { color: rgb(195, 58, 185); } header { border-bottom:1px solid #c33ab9; }