Random Color Generator

#980cc7 Color

Color Codes
Hex Code #980cc7
RGB Code rgb(152, 12, 199)
HSL Code hsl(285, 89%, 41%)

#980cc7 Color Syntax

rgb()

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

 main {
    background-color: rgb(152, 12, 199);
   }

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(285, 89%, 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 #980cc7

RGB Code Hex Code Preview
rgb(152, 12, 199, 10%) #980cc71a  
rgb(152, 12, 199, 20%) #980cc733  
rgb(152, 12, 199, 40%) #980cc74C  
rgb(152, 12, 199, 60%) #980cc799  
rgb(152, 12, 199, 80%) #980cc7CC  
rgb(152, 12, 199, 100%) #980cc7FF  

Saturated and desaturated colors of #980cc7

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

#980cc7 Color Usage In CSS

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