Random Color Generator

#801478 Color

Color Codes
Hex Code #801478
RGB Code rgb(128, 20, 120)
HSL Code hsl(304, 73%, 29%)

#801478 Color Syntax

rgb()

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

 main {
    background-color: rgb(128, 20, 120);
   }

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(304, 73%, 29%);
  }

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 #801478

RGB Code Hex Code Preview
rgb(128, 20, 120, 10%) #8014781a  
rgb(128, 20, 120, 20%) #80147833  
rgb(128, 20, 120, 40%) #8014784C  
rgb(128, 20, 120, 60%) #80147899  
rgb(128, 20, 120, 80%) #801478CC  
rgb(128, 20, 120, 100%) #801478FF  

Saturated and desaturated colors of #801478

HSL Code Preview
hsl(304, 10%, 29%)  
hsl(304, 20%, 29%)  
hsl(304, 40%, 29%)  
hsl(304, 60%, 29%)  
hsl(304, 80%, 29%)  
hsl(304, 100%, 29%)  

#801478 Color Usage In CSS

 body {
    color: #801478;
    }
 p {
    color: rgb(128, 20, 120);
    }
 header {
    border-bottom:1px solid #801478;
    }
Recent Random Colors