#c51090 Color
Color Codes | |
---|---|
Hex Code | #c51090 |
RGB Code | rgb(197, 16, 144) |
HSL Code | hsl(318, 85%, 42%) |
#c51090 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 16, 144); }
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(318, 85%, 42%); }
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 #c51090
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 16, 144, 10%) | #c510901a | |
rgb(197, 16, 144, 20%) | #c5109033 | |
rgb(197, 16, 144, 40%) | #c510904C | |
rgb(197, 16, 144, 60%) | #c5109099 | |
rgb(197, 16, 144, 80%) | #c51090CC | |
rgb(197, 16, 144, 100%) | #c51090FF |
Saturated and desaturated colors of #c51090
HSL Code | Preview |
---|---|
hsl(318, 10%, 42%) | |
hsl(318, 20%, 42%) | |
hsl(318, 40%, 42%) | |
hsl(318, 60%, 42%) | |
hsl(318, 80%, 42%) | |
hsl(318, 100%, 42%) |
#c51090 Color Usage In CSS
body { color: #c51090; } p { color: rgb(197, 16, 144); } header { border-bottom:1px solid #c51090; }