Random Color Generator

#d47dcd Color

Color Codes
Hex Code #d47dcd
RGB Code rgb(212, 125, 205)
HSL Code hsl(305, 50%, 66%)

#d47dcd Color Syntax

rgb()

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

 main {
    background-color: rgb(212, 125, 205);
   }

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(305, 50%, 66%);
  }

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

RGB Code Hex Code Preview
rgb(212, 125, 205, 10%) #d47dcd1a  
rgb(212, 125, 205, 20%) #d47dcd33  
rgb(212, 125, 205, 40%) #d47dcd4C  
rgb(212, 125, 205, 60%) #d47dcd99  
rgb(212, 125, 205, 80%) #d47dcdCC  
rgb(212, 125, 205, 100%) #d47dcdFF  

Saturated and desaturated colors of #d47dcd

HSL Code Preview
hsl(305, 10%, 66%)  
hsl(305, 20%, 66%)  
hsl(305, 40%, 66%)  
hsl(305, 60%, 66%)  
hsl(305, 80%, 66%)  
hsl(305, 100%, 66%)  

#d47dcd Color Usage In CSS

 body {
    color: #d47dcd;
    }
 p {
    color: rgb(212, 125, 205);
    }
 header {
    border-bottom:1px solid #d47dcd;
    }
Recent Random Colors