Random Color Generator

#913e81 Color

Color Codes
Hex Code #913e81
RGB Code rgb(145, 62, 129)
HSL Code hsl(312, 40%, 41%)

#913e81 Color Syntax

rgb()

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

 main {
    background-color: rgb(145, 62, 129);
   }

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(312, 40%, 41%);
  }

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 #913e81

RGB Code Hex Code Preview
rgb(145, 62, 129, 10%) #913e811a  
rgb(145, 62, 129, 20%) #913e8133  
rgb(145, 62, 129, 40%) #913e814C  
rgb(145, 62, 129, 60%) #913e8199  
rgb(145, 62, 129, 80%) #913e81CC  
rgb(145, 62, 129, 100%) #913e81FF  

Saturated and desaturated colors of #913e81

HSL Code Preview
hsl(312, 10%, 41%)  
hsl(312, 20%, 41%)  
hsl(312, 40%, 41%)  
hsl(312, 60%, 41%)  
hsl(312, 80%, 41%)  
hsl(312, 100%, 41%)  

#913e81 Color Usage In CSS

 body {
    color: #913e81;
    }
 p {
    color: rgb(145, 62, 129);
    }
 header {
    border-bottom:1px solid #913e81;
    }
Recent Random Colors