Random Color Generator

#78196a Color

Color Codes
Hex Code #78196a
RGB Code rgb(120, 25, 106)
HSL Code hsl(309, 66%, 28%)

#78196a Color Syntax

rgb()

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

 main {
    background-color: rgb(120, 25, 106);
   }

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(309, 66%, 28%);
  }

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 #78196a

RGB Code Hex Code Preview
rgb(120, 25, 106, 10%) #78196a1a  
rgb(120, 25, 106, 20%) #78196a33  
rgb(120, 25, 106, 40%) #78196a4C  
rgb(120, 25, 106, 60%) #78196a99  
rgb(120, 25, 106, 80%) #78196aCC  
rgb(120, 25, 106, 100%) #78196aFF  

Saturated and desaturated colors of #78196a

HSL Code Preview
hsl(309, 10%, 28%)  
hsl(309, 20%, 28%)  
hsl(309, 40%, 28%)  
hsl(309, 60%, 28%)  
hsl(309, 80%, 28%)  
hsl(309, 100%, 28%)  

#78196a Color Usage In CSS

 body {
    color: #78196a;
    }
 p {
    color: rgb(120, 25, 106);
    }
 header {
    border-bottom:1px solid #78196a;
    }
Recent Random Colors