#dd30e6 Color
Color Codes | |
---|---|
Hex Code | #dd30e6 |
RGB Code | rgb(221, 48, 230) |
HSL Code | hsl(297, 78%, 55%) |
#dd30e6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 48, 230); }
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(297, 78%, 55%); }
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 #dd30e6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 48, 230, 10%) | #dd30e61a | |
rgb(221, 48, 230, 20%) | #dd30e633 | |
rgb(221, 48, 230, 40%) | #dd30e64C | |
rgb(221, 48, 230, 60%) | #dd30e699 | |
rgb(221, 48, 230, 80%) | #dd30e6CC | |
rgb(221, 48, 230, 100%) | #dd30e6FF |
Saturated and desaturated colors of #dd30e6
HSL Code | Preview |
---|---|
hsl(297, 10%, 55%) | |
hsl(297, 20%, 55%) | |
hsl(297, 40%, 55%) | |
hsl(297, 60%, 55%) | |
hsl(297, 80%, 55%) | |
hsl(297, 100%, 55%) |
#dd30e6 Color Usage In CSS
body { color: #dd30e6; } p { color: rgb(221, 48, 230); } header { border-bottom:1px solid #dd30e6; }