Random Color Generator

#981b83 Color

Color Codes
Hex Code #981b83
RGB Code rgb(152, 27, 131)
HSL Code hsl(310, 70%, 35%)

#981b83 Color Syntax

rgb()

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

 main {
    background-color: rgb(152, 27, 131);
   }

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(310, 70%, 35%);
  }

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 #981b83

RGB Code Hex Code Preview
rgb(152, 27, 131, 10%) #981b831a  
rgb(152, 27, 131, 20%) #981b8333  
rgb(152, 27, 131, 40%) #981b834C  
rgb(152, 27, 131, 60%) #981b8399  
rgb(152, 27, 131, 80%) #981b83CC  
rgb(152, 27, 131, 100%) #981b83FF  

Saturated and desaturated colors of #981b83

HSL Code Preview
hsl(310, 10%, 35%)  
hsl(310, 20%, 35%)  
hsl(310, 40%, 35%)  
hsl(310, 60%, 35%)  
hsl(310, 80%, 35%)  
hsl(310, 100%, 35%)  

#981b83 Color Usage In CSS

 body {
    color: #981b83;
    }
 p {
    color: rgb(152, 27, 131);
    }
 header {
    border-bottom:1px solid #981b83;
    }
Recent Random Colors