#de79f6 Color
Color Codes | |
---|---|
Hex Code | #de79f6 |
RGB Code | rgb(222, 121, 246) |
HSL Code | hsl(288, 87%, 72%) |
#de79f6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(222, 121, 246); }
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(288, 87%, 72%); }
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 #de79f6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(222, 121, 246, 10%) | #de79f61a | |
rgb(222, 121, 246, 20%) | #de79f633 | |
rgb(222, 121, 246, 40%) | #de79f64C | |
rgb(222, 121, 246, 60%) | #de79f699 | |
rgb(222, 121, 246, 80%) | #de79f6CC | |
rgb(222, 121, 246, 100%) | #de79f6FF |
Saturated and desaturated colors of #de79f6
HSL Code | Preview |
---|---|
hsl(288, 10%, 72%) | |
hsl(288, 20%, 72%) | |
hsl(288, 40%, 72%) | |
hsl(288, 60%, 72%) | |
hsl(288, 80%, 72%) | |
hsl(288, 100%, 72%) |
#de79f6 Color Usage In CSS
body { color: #de79f6; } p { color: rgb(222, 121, 246); } header { border-bottom:1px solid #de79f6; }