Random Color Generator

#c494e0 Color

Color Codes
Hex Code #c494e0
RGB Code rgb(196, 148, 224)
HSL Code hsl(278, 55%, 73%)

#c494e0 Color Syntax

rgb()

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

 main {
    background-color: rgb(196, 148, 224);
   }

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, 55%, 73%);
  }

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

RGB Code Hex Code Preview
rgb(196, 148, 224, 10%) #c494e01a  
rgb(196, 148, 224, 20%) #c494e033  
rgb(196, 148, 224, 40%) #c494e04C  
rgb(196, 148, 224, 60%) #c494e099  
rgb(196, 148, 224, 80%) #c494e0CC  
rgb(196, 148, 224, 100%) #c494e0FF  

Saturated and desaturated colors of #c494e0

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

#c494e0 Color Usage In CSS

 body {
    color: #c494e0;
    }
 p {
    color: rgb(196, 148, 224);
    }
 header {
    border-bottom:1px solid #c494e0;
    }
Recent Random Colors