Random Color Generator

#785795 Color

Color Codes
Hex Code #785795
RGB Code rgb(120, 87, 149)
HSL Code hsl(272, 26%, 46%)

#785795 Color Syntax

rgb()

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

 main {
    background-color: rgb(120, 87, 149);
   }

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(272, 26%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(120, 87, 149, 10%) #7857951a  
rgb(120, 87, 149, 20%) #78579533  
rgb(120, 87, 149, 40%) #7857954C  
rgb(120, 87, 149, 60%) #78579599  
rgb(120, 87, 149, 80%) #785795CC  
rgb(120, 87, 149, 100%) #785795FF  

Saturated and desaturated colors of #785795

HSL Code Preview
hsl(272, 10%, 46%)  
hsl(272, 20%, 46%)  
hsl(272, 40%, 46%)  
hsl(272, 60%, 46%)  
hsl(272, 80%, 46%)  
hsl(272, 100%, 46%)  

#785795 Color Usage In CSS

 body {
    color: #785795;
    }
 p {
    color: rgb(120, 87, 149);
    }
 header {
    border-bottom:1px solid #785795;
    }
Recent Random Colors