Random Color Generator

#97259e Color

Color Codes
Hex Code #97259e
RGB Code rgb(151, 37, 158)
HSL Code hsl(297, 62%, 38%)

#97259e Color Syntax

rgb()

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

 main {
    background-color: rgb(151, 37, 158);
   }

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(297, 62%, 38%);
  }

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 #97259e

RGB Code Hex Code Preview
rgb(151, 37, 158, 10%) #97259e1a  
rgb(151, 37, 158, 20%) #97259e33  
rgb(151, 37, 158, 40%) #97259e4C  
rgb(151, 37, 158, 60%) #97259e99  
rgb(151, 37, 158, 80%) #97259eCC  
rgb(151, 37, 158, 100%) #97259eFF  

Saturated and desaturated colors of #97259e

HSL Code Preview
hsl(297, 10%, 38%)  
hsl(297, 20%, 38%)  
hsl(297, 40%, 38%)  
hsl(297, 60%, 38%)  
hsl(297, 80%, 38%)  
hsl(297, 100%, 38%)  

#97259e Color Usage In CSS

 body {
    color: #97259e;
    }
 p {
    color: rgb(151, 37, 158);
    }
 header {
    border-bottom:1px solid #97259e;
    }
Recent Random Colors