Random Color Generator

#dc96dd Color

Color Codes
Hex Code #dc96dd
RGB Code rgb(220, 150, 221)
HSL Code hsl(299, 51%, 73%)

#dc96dd Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 150, 221);
   }

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(299, 51%, 73%);
  }

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

RGB Code Hex Code Preview
rgb(220, 150, 221, 10%) #dc96dd1a  
rgb(220, 150, 221, 20%) #dc96dd33  
rgb(220, 150, 221, 40%) #dc96dd4C  
rgb(220, 150, 221, 60%) #dc96dd99  
rgb(220, 150, 221, 80%) #dc96ddCC  
rgb(220, 150, 221, 100%) #dc96ddFF  

Saturated and desaturated colors of #dc96dd

HSL Code Preview
hsl(299, 10%, 73%)  
hsl(299, 20%, 73%)  
hsl(299, 40%, 73%)  
hsl(299, 60%, 73%)  
hsl(299, 80%, 73%)  
hsl(299, 100%, 73%)  

#dc96dd Color Usage In CSS

 body {
    color: #dc96dd;
    }
 p {
    color: rgb(220, 150, 221);
    }
 header {
    border-bottom:1px solid #dc96dd;
    }
Recent Random Colors