Random Color Generator

#980f96 Color

Color Codes
Hex Code #980f96
RGB Code rgb(152, 15, 150)
HSL Code hsl(301, 82%, 33%)

#980f96 Color Syntax

rgb()

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

 main {
    background-color: rgb(152, 15, 150);
   }

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(301, 82%, 33%);
  }

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 #980f96

RGB Code Hex Code Preview
rgb(152, 15, 150, 10%) #980f961a  
rgb(152, 15, 150, 20%) #980f9633  
rgb(152, 15, 150, 40%) #980f964C  
rgb(152, 15, 150, 60%) #980f9699  
rgb(152, 15, 150, 80%) #980f96CC  
rgb(152, 15, 150, 100%) #980f96FF  

Saturated and desaturated colors of #980f96

HSL Code Preview
hsl(301, 10%, 33%)  
hsl(301, 20%, 33%)  
hsl(301, 40%, 33%)  
hsl(301, 60%, 33%)  
hsl(301, 80%, 33%)  
hsl(301, 100%, 33%)  

#980f96 Color Usage In CSS

 body {
    color: #980f96;
    }
 p {
    color: rgb(152, 15, 150);
    }
 header {
    border-bottom:1px solid #980f96;
    }
Recent Random Colors