Random Color Generator

#cf6cd1 Color

Color Codes
Hex Code #cf6cd1
RGB Code rgb(207, 108, 209)
HSL Code hsl(299, 52%, 62%)

#cf6cd1 Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 108, 209);
   }

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, 52%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(207, 108, 209, 10%) #cf6cd11a  
rgb(207, 108, 209, 20%) #cf6cd133  
rgb(207, 108, 209, 40%) #cf6cd14C  
rgb(207, 108, 209, 60%) #cf6cd199  
rgb(207, 108, 209, 80%) #cf6cd1CC  
rgb(207, 108, 209, 100%) #cf6cd1FF  

Saturated and desaturated colors of #cf6cd1

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

#cf6cd1 Color Usage In CSS

 body {
    color: #cf6cd1;
    }
 p {
    color: rgb(207, 108, 209);
    }
 header {
    border-bottom:1px solid #cf6cd1;
    }
Recent Random Colors