Random Color Generator

#c901f9 Color

Color Codes
Hex Code #c901f9
RGB Code rgb(201, 01, 249)
HSL Code hsl(288, 99%, 49%)

#c901f9 Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 01, 249);
   }

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, 99%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(201, 01, 249, 10%) #c901f91a  
rgb(201, 01, 249, 20%) #c901f933  
rgb(201, 01, 249, 40%) #c901f94C  
rgb(201, 01, 249, 60%) #c901f999  
rgb(201, 01, 249, 80%) #c901f9CC  
rgb(201, 01, 249, 100%) #c901f9FF  

Saturated and desaturated colors of #c901f9

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

#c901f9 Color Usage In CSS

 body {
    color: #c901f9;
    }
 p {
    color: rgb(201, 01, 249);
    }
 header {
    border-bottom:1px solid #c901f9;
    }
Recent Random Colors