Random Color Generator

#935597 Color

Color Codes
Hex Code #935597
RGB Code rgb(147, 85, 151)
HSL Code hsl(296, 28%, 46%)

#935597 Color Syntax

rgb()

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

 main {
    background-color: rgb(147, 85, 151);
   }

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(296, 28%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(147, 85, 151, 10%) #9355971a  
rgb(147, 85, 151, 20%) #93559733  
rgb(147, 85, 151, 40%) #9355974C  
rgb(147, 85, 151, 60%) #93559799  
rgb(147, 85, 151, 80%) #935597CC  
rgb(147, 85, 151, 100%) #935597FF  

Saturated and desaturated colors of #935597

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

#935597 Color Usage In CSS

 body {
    color: #935597;
    }
 p {
    color: rgb(147, 85, 151);
    }
 header {
    border-bottom:1px solid #935597;
    }
Recent Random Colors