#d774c2 Color
Color Codes | |
---|---|
Hex Code | #d774c2 |
RGB Code | rgb(215, 116, 194) |
HSL Code | hsl(313, 55%, 65%) |
#d774c2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(215, 116, 194); }
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(313, 55%, 65%); }
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 #d774c2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(215, 116, 194, 10%) | #d774c21a | |
rgb(215, 116, 194, 20%) | #d774c233 | |
rgb(215, 116, 194, 40%) | #d774c24C | |
rgb(215, 116, 194, 60%) | #d774c299 | |
rgb(215, 116, 194, 80%) | #d774c2CC | |
rgb(215, 116, 194, 100%) | #d774c2FF |
Saturated and desaturated colors of #d774c2
HSL Code | Preview |
---|---|
hsl(313, 10%, 65%) | |
hsl(313, 20%, 65%) | |
hsl(313, 40%, 65%) | |
hsl(313, 60%, 65%) | |
hsl(313, 80%, 65%) | |
hsl(313, 100%, 65%) |
#d774c2 Color Usage In CSS
body { color: #d774c2; } p { color: rgb(215, 116, 194); } header { border-bottom:1px solid #d774c2; }