#c13cae Color
Color Codes | |
---|---|
Hex Code | #c13cae |
RGB Code | rgb(193, 60, 174) |
HSL Code | hsl(309, 53%, 50%) |
#c13cae Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 60, 174); }
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(309, 53%, 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 #c13cae
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 60, 174, 10%) | #c13cae1a | |
rgb(193, 60, 174, 20%) | #c13cae33 | |
rgb(193, 60, 174, 40%) | #c13cae4C | |
rgb(193, 60, 174, 60%) | #c13cae99 | |
rgb(193, 60, 174, 80%) | #c13caeCC | |
rgb(193, 60, 174, 100%) | #c13caeFF |
Saturated and desaturated colors of #c13cae
HSL Code | Preview |
---|---|
hsl(309, 10%, 50%) | |
hsl(309, 20%, 50%) | |
hsl(309, 40%, 50%) | |
hsl(309, 60%, 50%) | |
hsl(309, 80%, 50%) | |
hsl(309, 100%, 50%) |
#c13cae Color Usage In CSS
body { color: #c13cae; } p { color: rgb(193, 60, 174); } header { border-bottom:1px solid #c13cae; }