Random Color Generator

#c90366 Color

Color Codes
Hex Code #c90366
RGB Code rgb(201, 03, 102)
HSL Code hsl(330, 97%, 40%)

#c90366 Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 03, 102);
   }

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(330, 97%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(201, 03, 102, 10%) #c903661a  
rgb(201, 03, 102, 20%) #c9036633  
rgb(201, 03, 102, 40%) #c903664C  
rgb(201, 03, 102, 60%) #c9036699  
rgb(201, 03, 102, 80%) #c90366CC  
rgb(201, 03, 102, 100%) #c90366FF  

Saturated and desaturated colors of #c90366

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

#c90366 Color Usage In CSS

 body {
    color: #c90366;
    }
 p {
    color: rgb(201, 03, 102);
    }
 header {
    border-bottom:1px solid #c90366;
    }
Recent Random Colors