Random Color Generator

#c96ee4 Color

Color Codes
Hex Code #c96ee4
RGB Code rgb(201, 110, 228)
HSL Code hsl(286, 69%, 66%)

#c96ee4 Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 110, 228);
   }

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(286, 69%, 66%);
  }

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

RGB Code Hex Code Preview
rgb(201, 110, 228, 10%) #c96ee41a  
rgb(201, 110, 228, 20%) #c96ee433  
rgb(201, 110, 228, 40%) #c96ee44C  
rgb(201, 110, 228, 60%) #c96ee499  
rgb(201, 110, 228, 80%) #c96ee4CC  
rgb(201, 110, 228, 100%) #c96ee4FF  

Saturated and desaturated colors of #c96ee4

HSL Code Preview
hsl(286, 10%, 66%)  
hsl(286, 20%, 66%)  
hsl(286, 40%, 66%)  
hsl(286, 60%, 66%)  
hsl(286, 80%, 66%)  
hsl(286, 100%, 66%)  

#c96ee4 Color Usage In CSS

 body {
    color: #c96ee4;
    }
 p {
    color: rgb(201, 110, 228);
    }
 header {
    border-bottom:1px solid #c96ee4;
    }
Recent Random Colors