#c12cb0 Color
Color Codes | |
---|---|
Hex Code | #c12cb0 |
RGB Code | rgb(193, 44, 176) |
HSL Code | hsl(307, 63%, 46%) |
#c12cb0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 44, 176); }
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(307, 63%, 46%); }
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 #c12cb0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 44, 176, 10%) | #c12cb01a | |
rgb(193, 44, 176, 20%) | #c12cb033 | |
rgb(193, 44, 176, 40%) | #c12cb04C | |
rgb(193, 44, 176, 60%) | #c12cb099 | |
rgb(193, 44, 176, 80%) | #c12cb0CC | |
rgb(193, 44, 176, 100%) | #c12cb0FF |
Saturated and desaturated colors of #c12cb0
HSL Code | Preview |
---|---|
hsl(307, 10%, 46%) | |
hsl(307, 20%, 46%) | |
hsl(307, 40%, 46%) | |
hsl(307, 60%, 46%) | |
hsl(307, 80%, 46%) | |
hsl(307, 100%, 46%) |
#c12cb0 Color Usage In CSS
body { color: #c12cb0; } p { color: rgb(193, 44, 176); } header { border-bottom:1px solid #c12cb0; }