Random Color Generator

#935d94 Color

Color Codes
Hex Code #935d94
RGB Code rgb(147, 93, 148)
HSL Code hsl(299, 23%, 47%)

#935d94 Color Syntax

rgb()

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

 main {
    background-color: rgb(147, 93, 148);
   }

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(299, 23%, 47%);
  }

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 #935d94

RGB Code Hex Code Preview
rgb(147, 93, 148, 10%) #935d941a  
rgb(147, 93, 148, 20%) #935d9433  
rgb(147, 93, 148, 40%) #935d944C  
rgb(147, 93, 148, 60%) #935d9499  
rgb(147, 93, 148, 80%) #935d94CC  
rgb(147, 93, 148, 100%) #935d94FF  

Saturated and desaturated colors of #935d94

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

#935d94 Color Usage In CSS

 body {
    color: #935d94;
    }
 p {
    color: rgb(147, 93, 148);
    }
 header {
    border-bottom:1px solid #935d94;
    }
Recent Random Colors