#d36fbd Color
Color Codes | |
---|---|
Hex Code | #d36fbd |
RGB Code | rgb(211, 111, 189) |
HSL Code | hsl(313, 53%, 63%) |
#d36fbd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 111, 189); }
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, 53%, 63%); }
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 #d36fbd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 111, 189, 10%) | #d36fbd1a | |
rgb(211, 111, 189, 20%) | #d36fbd33 | |
rgb(211, 111, 189, 40%) | #d36fbd4C | |
rgb(211, 111, 189, 60%) | #d36fbd99 | |
rgb(211, 111, 189, 80%) | #d36fbdCC | |
rgb(211, 111, 189, 100%) | #d36fbdFF |
Saturated and desaturated colors of #d36fbd
HSL Code | Preview |
---|---|
hsl(313, 10%, 63%) | |
hsl(313, 20%, 63%) | |
hsl(313, 40%, 63%) | |
hsl(313, 60%, 63%) | |
hsl(313, 80%, 63%) | |
hsl(313, 100%, 63%) |
#d36fbd Color Usage In CSS
body { color: #d36fbd; } p { color: rgb(211, 111, 189); } header { border-bottom:1px solid #d36fbd; }