#dc6bf0 Color
Color Codes | |
---|---|
Hex Code | #dc6bf0 |
RGB Code | rgb(220, 107, 240) |
HSL Code | hsl(291, 82%, 68%) |
#dc6bf0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 107, 240); }
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(291, 82%, 68%); }
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 #dc6bf0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 107, 240, 10%) | #dc6bf01a | |
rgb(220, 107, 240, 20%) | #dc6bf033 | |
rgb(220, 107, 240, 40%) | #dc6bf04C | |
rgb(220, 107, 240, 60%) | #dc6bf099 | |
rgb(220, 107, 240, 80%) | #dc6bf0CC | |
rgb(220, 107, 240, 100%) | #dc6bf0FF |
Saturated and desaturated colors of #dc6bf0
HSL Code | Preview |
---|---|
hsl(291, 10%, 68%) | |
hsl(291, 20%, 68%) | |
hsl(291, 40%, 68%) | |
hsl(291, 60%, 68%) | |
hsl(291, 80%, 68%) | |
hsl(291, 100%, 68%) |
#dc6bf0 Color Usage In CSS
body { color: #dc6bf0; } p { color: rgb(220, 107, 240); } header { border-bottom:1px solid #dc6bf0; }