Random Color Generator

#dd11c2 Color

Color Codes
Hex Code #dd11c2
RGB Code rgb(221, 17, 194)
HSL Code hsl(308, 86%, 47%)

#dd11c2 Color Syntax

rgb()

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

 main {
    background-color: rgb(221, 17, 194);
   }

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(308, 86%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(221, 17, 194, 10%) #dd11c21a  
rgb(221, 17, 194, 20%) #dd11c233  
rgb(221, 17, 194, 40%) #dd11c24C  
rgb(221, 17, 194, 60%) #dd11c299  
rgb(221, 17, 194, 80%) #dd11c2CC  
rgb(221, 17, 194, 100%) #dd11c2FF  

Saturated and desaturated colors of #dd11c2

HSL Code Preview
hsl(308, 10%, 47%)  
hsl(308, 20%, 47%)  
hsl(308, 40%, 47%)  
hsl(308, 60%, 47%)  
hsl(308, 80%, 47%)  
hsl(308, 100%, 47%)  

#dd11c2 Color Usage In CSS

 body {
    color: #dd11c2;
    }
 p {
    color: rgb(221, 17, 194);
    }
 header {
    border-bottom:1px solid #dd11c2;
    }
Recent Random Colors