Random Color Generator

#8073b5 Color

Color Codes
Hex Code #8073b5
RGB Code rgb(128, 115, 181)
HSL Code hsl(252, 31%, 58%)

#8073b5 Color Syntax

rgb()

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

 main {
    background-color: rgb(128, 115, 181);
   }

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(252, 31%, 58%);
  }

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 #8073b5

RGB Code Hex Code Preview
rgb(128, 115, 181, 10%) #8073b51a  
rgb(128, 115, 181, 20%) #8073b533  
rgb(128, 115, 181, 40%) #8073b54C  
rgb(128, 115, 181, 60%) #8073b599  
rgb(128, 115, 181, 80%) #8073b5CC  
rgb(128, 115, 181, 100%) #8073b5FF  

Saturated and desaturated colors of #8073b5

HSL Code Preview
hsl(252, 10%, 58%)  
hsl(252, 20%, 58%)  
hsl(252, 40%, 58%)  
hsl(252, 60%, 58%)  
hsl(252, 80%, 58%)  
hsl(252, 100%, 58%)  

#8073b5 Color Usage In CSS

 body {
    color: #8073b5;
    }
 p {
    color: rgb(128, 115, 181);
    }
 header {
    border-bottom:1px solid #8073b5;
    }
Recent Random Colors