Random Color Generator

#c45efe Color

Color Codes
Hex Code #c45efe
RGB Code rgb(196, 94, 254)
HSL Code hsl(278, 99%, 68%)

#c45efe Color Syntax

rgb()

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

 main {
    background-color: rgb(196, 94, 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(278, 99%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(196, 94, 254, 10%) #c45efe1a  
rgb(196, 94, 254, 20%) #c45efe33  
rgb(196, 94, 254, 40%) #c45efe4C  
rgb(196, 94, 254, 60%) #c45efe99  
rgb(196, 94, 254, 80%) #c45efeCC  
rgb(196, 94, 254, 100%) #c45efeFF  

Saturated and desaturated colors of #c45efe

HSL Code Preview
hsl(278, 10%, 68%)  
hsl(278, 20%, 68%)  
hsl(278, 40%, 68%)  
hsl(278, 60%, 68%)  
hsl(278, 80%, 68%)  
hsl(278, 100%, 68%)  

#c45efe Color Usage In CSS

 body {
    color: #c45efe;
    }
 p {
    color: rgb(196, 94, 254);
    }
 header {
    border-bottom:1px solid #c45efe;
    }
Recent Random Colors