#dc4fc1 Color
Color Codes | |
---|---|
Hex Code | #dc4fc1 |
RGB Code | rgb(220, 79, 193) |
HSL Code | hsl(311, 67%, 59%) |
#dc4fc1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 79, 193); }
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(311, 67%, 59%); }
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 #dc4fc1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 79, 193, 10%) | #dc4fc11a | |
rgb(220, 79, 193, 20%) | #dc4fc133 | |
rgb(220, 79, 193, 40%) | #dc4fc14C | |
rgb(220, 79, 193, 60%) | #dc4fc199 | |
rgb(220, 79, 193, 80%) | #dc4fc1CC | |
rgb(220, 79, 193, 100%) | #dc4fc1FF |
Saturated and desaturated colors of #dc4fc1
HSL Code | Preview |
---|---|
hsl(311, 10%, 59%) | |
hsl(311, 20%, 59%) | |
hsl(311, 40%, 59%) | |
hsl(311, 60%, 59%) | |
hsl(311, 80%, 59%) | |
hsl(311, 100%, 59%) |
#dc4fc1 Color Usage In CSS
body { color: #dc4fc1; } p { color: rgb(220, 79, 193); } header { border-bottom:1px solid #dc4fc1; }