Random Color Generator

#c826c9 Color

Color Codes
Hex Code #c826c9
RGB Code rgb(200, 38, 201)
HSL Code hsl(300, 68%, 47%)

#c826c9 Color Syntax

rgb()

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

 main {
    background-color: rgb(200, 38, 201);
   }

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(300, 68%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(200, 38, 201, 10%) #c826c91a  
rgb(200, 38, 201, 20%) #c826c933  
rgb(200, 38, 201, 40%) #c826c94C  
rgb(200, 38, 201, 60%) #c826c999  
rgb(200, 38, 201, 80%) #c826c9CC  
rgb(200, 38, 201, 100%) #c826c9FF  

Saturated and desaturated colors of #c826c9

HSL Code Preview
hsl(300, 10%, 47%)  
hsl(300, 20%, 47%)  
hsl(300, 40%, 47%)  
hsl(300, 60%, 47%)  
hsl(300, 80%, 47%)  
hsl(300, 100%, 47%)  

#c826c9 Color Usage In CSS

 body {
    color: #c826c9;
    }
 p {
    color: rgb(200, 38, 201);
    }
 header {
    border-bottom:1px solid #c826c9;
    }
Recent Random Colors