Random Color Generator

#cc6efa Color

Color Codes
Hex Code #cc6efa
RGB Code rgb(204, 110, 250)
HSL Code hsl(280, 93%, 71%)

#cc6efa Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 110, 250);
   }

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(280, 93%, 71%);
  }

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

RGB Code Hex Code Preview
rgb(204, 110, 250, 10%) #cc6efa1a  
rgb(204, 110, 250, 20%) #cc6efa33  
rgb(204, 110, 250, 40%) #cc6efa4C  
rgb(204, 110, 250, 60%) #cc6efa99  
rgb(204, 110, 250, 80%) #cc6efaCC  
rgb(204, 110, 250, 100%) #cc6efaFF  

Saturated and desaturated colors of #cc6efa

HSL Code Preview
hsl(280, 10%, 71%)  
hsl(280, 20%, 71%)  
hsl(280, 40%, 71%)  
hsl(280, 60%, 71%)  
hsl(280, 80%, 71%)  
hsl(280, 100%, 71%)  

#cc6efa Color Usage In CSS

 body {
    color: #cc6efa;
    }
 p {
    color: rgb(204, 110, 250);
    }
 header {
    border-bottom:1px solid #cc6efa;
    }
Recent Random Colors