Random Color Generator

#dd50d9 Color

Color Codes
Hex Code #dd50d9
RGB Code rgb(221, 80, 217)
HSL Code hsl(302, 67%, 59%)

#dd50d9 Color Syntax

rgb()

 rgb(Red, Green, Blue);
 rgba(Red, Green, Blue, Alpha);

 main {
    background-color: rgb(221, 80, 217);
   }

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(302, 67%, 59%);
  }

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 #dd50d9

RGB Code Hex Code Preview
rgb(221, 80, 217, 10%) #dd50d91a  
rgb(221, 80, 217, 20%) #dd50d933  
rgb(221, 80, 217, 40%) #dd50d94C  
rgb(221, 80, 217, 60%) #dd50d999  
rgb(221, 80, 217, 80%) #dd50d9CC  
rgb(221, 80, 217, 100%) #dd50d9FF  

Saturated and desaturated colors of #dd50d9

HSL Code Preview
hsl(302, 10%, 59%)  
hsl(302, 20%, 59%)  
hsl(302, 40%, 59%)  
hsl(302, 60%, 59%)  
hsl(302, 80%, 59%)  
hsl(302, 100%, 59%)  

#dd50d9 Color Usage In CSS

 body {
    color: #dd50d9;
    }
 p {
    color: rgb(221, 80, 217);
    }
 header {
    border-bottom:1px solid #dd50d9;
    }
Recent Random Colors