Random Color Generator

#997bd9 Color

Color Codes
Hex Code #997bd9
RGB Code rgb(153, 123, 217)
HSL Code hsl(259, 55%, 67%)

#997bd9 Color Syntax

rgb()

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

 main {
    background-color: rgb(153, 123, 217);
   }

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(259, 55%, 67%);
  }

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 #997bd9

RGB Code Hex Code Preview
rgb(153, 123, 217, 10%) #997bd91a  
rgb(153, 123, 217, 20%) #997bd933  
rgb(153, 123, 217, 40%) #997bd94C  
rgb(153, 123, 217, 60%) #997bd999  
rgb(153, 123, 217, 80%) #997bd9CC  
rgb(153, 123, 217, 100%) #997bd9FF  

Saturated and desaturated colors of #997bd9

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

#997bd9 Color Usage In CSS

 body {
    color: #997bd9;
    }
 p {
    color: rgb(153, 123, 217);
    }
 header {
    border-bottom:1px solid #997bd9;
    }
Recent Random Colors