Random Color Generator

#c916f8 Color

Color Codes
Hex Code #c916f8
RGB Code rgb(201, 22, 248)
HSL Code hsl(288, 94%, 53%)

#c916f8 Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 22, 248);
   }

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(288, 94%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(201, 22, 248, 10%) #c916f81a  
rgb(201, 22, 248, 20%) #c916f833  
rgb(201, 22, 248, 40%) #c916f84C  
rgb(201, 22, 248, 60%) #c916f899  
rgb(201, 22, 248, 80%) #c916f8CC  
rgb(201, 22, 248, 100%) #c916f8FF  

Saturated and desaturated colors of #c916f8

HSL Code Preview
hsl(288, 10%, 53%)  
hsl(288, 20%, 53%)  
hsl(288, 40%, 53%)  
hsl(288, 60%, 53%)  
hsl(288, 80%, 53%)  
hsl(288, 100%, 53%)  

#c916f8 Color Usage In CSS

 body {
    color: #c916f8;
    }
 p {
    color: rgb(201, 22, 248);
    }
 header {
    border-bottom:1px solid #c916f8;
    }
Recent Random Colors