#d026dc Color
Color Codes | |
---|---|
Hex Code | #d026dc |
RGB Code | rgb(208, 38, 220) |
HSL Code | hsl(296, 72%, 51%) |
#d026dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(208, 38, 220); }
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(296, 72%, 51%); }
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 #d026dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(208, 38, 220, 10%) | #d026dc1a | |
rgb(208, 38, 220, 20%) | #d026dc33 | |
rgb(208, 38, 220, 40%) | #d026dc4C | |
rgb(208, 38, 220, 60%) | #d026dc99 | |
rgb(208, 38, 220, 80%) | #d026dcCC | |
rgb(208, 38, 220, 100%) | #d026dcFF |
Saturated and desaturated colors of #d026dc
HSL Code | Preview |
---|---|
hsl(296, 10%, 51%) | |
hsl(296, 20%, 51%) | |
hsl(296, 40%, 51%) | |
hsl(296, 60%, 51%) | |
hsl(296, 80%, 51%) | |
hsl(296, 100%, 51%) |
#d026dc Color Usage In CSS
body { color: #d026dc; } p { color: rgb(208, 38, 220); } header { border-bottom:1px solid #d026dc; }