Random Color Generator

#c90951 Color

Color Codes
Hex Code #c90951
RGB Code rgb(201, 09, 81)
HSL Code hsl(338, 91%, 41%)

#c90951 Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 09, 81);
   }

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(338, 91%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(201, 09, 81, 10%) #c909511a  
rgb(201, 09, 81, 20%) #c9095133  
rgb(201, 09, 81, 40%) #c909514C  
rgb(201, 09, 81, 60%) #c9095199  
rgb(201, 09, 81, 80%) #c90951CC  
rgb(201, 09, 81, 100%) #c90951FF  

Saturated and desaturated colors of #c90951

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

#c90951 Color Usage In CSS

 body {
    color: #c90951;
    }
 p {
    color: rgb(201, 09, 81);
    }
 header {
    border-bottom:1px solid #c90951;
    }
Recent Random Colors