Random Color Generator

#9941b9 Color

Color Codes
Hex Code #9941b9
RGB Code rgb(153, 65, 185)
HSL Code hsl(284, 48%, 49%)

#9941b9 Color Syntax

rgb()

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

 main {
    background-color: rgb(153, 65, 185);
   }

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(284, 48%, 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 #9941b9

RGB Code Hex Code Preview
rgb(153, 65, 185, 10%) #9941b91a  
rgb(153, 65, 185, 20%) #9941b933  
rgb(153, 65, 185, 40%) #9941b94C  
rgb(153, 65, 185, 60%) #9941b999  
rgb(153, 65, 185, 80%) #9941b9CC  
rgb(153, 65, 185, 100%) #9941b9FF  

Saturated and desaturated colors of #9941b9

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

#9941b9 Color Usage In CSS

 body {
    color: #9941b9;
    }
 p {
    color: rgb(153, 65, 185);
    }
 header {
    border-bottom:1px solid #9941b9;
    }
Recent Random Colors