#cf1494 Color
Color Codes | |
---|---|
Hex Code | #cf1494 |
RGB Code | rgb(207, 20, 148) |
HSL Code | hsl(319, 82%, 45%) |
#cf1494 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 20, 148); }
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(319, 82%, 45%); }
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 #cf1494
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 20, 148, 10%) | #cf14941a | |
rgb(207, 20, 148, 20%) | #cf149433 | |
rgb(207, 20, 148, 40%) | #cf14944C | |
rgb(207, 20, 148, 60%) | #cf149499 | |
rgb(207, 20, 148, 80%) | #cf1494CC | |
rgb(207, 20, 148, 100%) | #cf1494FF |
Saturated and desaturated colors of #cf1494
HSL Code | Preview |
---|---|
hsl(319, 10%, 45%) | |
hsl(319, 20%, 45%) | |
hsl(319, 40%, 45%) | |
hsl(319, 60%, 45%) | |
hsl(319, 80%, 45%) | |
hsl(319, 100%, 45%) |
#cf1494 Color Usage In CSS
body { color: #cf1494; } p { color: rgb(207, 20, 148); } header { border-bottom:1px solid #cf1494; }