Random Color Generator

#c18ffe Color

Color Codes
Hex Code #c18ffe
RGB Code rgb(193, 143, 254)
HSL Code hsl(267, 98%, 78%)

#c18ffe Color Syntax

rgb()

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

 main {
    background-color: rgb(193, 143, 254);
   }

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(267, 98%, 78%);
  }

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

RGB Code Hex Code Preview
rgb(193, 143, 254, 10%) #c18ffe1a  
rgb(193, 143, 254, 20%) #c18ffe33  
rgb(193, 143, 254, 40%) #c18ffe4C  
rgb(193, 143, 254, 60%) #c18ffe99  
rgb(193, 143, 254, 80%) #c18ffeCC  
rgb(193, 143, 254, 100%) #c18ffeFF  

Saturated and desaturated colors of #c18ffe

HSL Code Preview
hsl(267, 10%, 78%)  
hsl(267, 20%, 78%)  
hsl(267, 40%, 78%)  
hsl(267, 60%, 78%)  
hsl(267, 80%, 78%)  
hsl(267, 100%, 78%)  

#c18ffe Color Usage In CSS

 body {
    color: #c18ffe;
    }
 p {
    color: rgb(193, 143, 254);
    }
 header {
    border-bottom:1px solid #c18ffe;
    }
Recent Random Colors