#c51883 Color
Color Codes | |
---|---|
Hex Code | #c51883 |
RGB Code | rgb(197, 24, 131) |
HSL Code | hsl(323, 78%, 43%) |
#c51883 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 24, 131); }
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(323, 78%, 43%); }
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 #c51883
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 24, 131, 10%) | #c518831a | |
rgb(197, 24, 131, 20%) | #c5188333 | |
rgb(197, 24, 131, 40%) | #c518834C | |
rgb(197, 24, 131, 60%) | #c5188399 | |
rgb(197, 24, 131, 80%) | #c51883CC | |
rgb(197, 24, 131, 100%) | #c51883FF |
Saturated and desaturated colors of #c51883
HSL Code | Preview |
---|---|
hsl(323, 10%, 43%) | |
hsl(323, 20%, 43%) | |
hsl(323, 40%, 43%) | |
hsl(323, 60%, 43%) | |
hsl(323, 80%, 43%) | |
hsl(323, 100%, 43%) |
#c51883 Color Usage In CSS
body { color: #c51883; } p { color: rgb(197, 24, 131); } header { border-bottom:1px solid #c51883; }