Random Color Generator

#7859ac Color

Color Codes
Hex Code #7859ac
RGB Code rgb(120, 89, 172)
HSL Code hsl(262, 33%, 51%)

#7859ac Color Syntax

rgb()

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

 main {
    background-color: rgb(120, 89, 172);
   }

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(262, 33%, 51%);
  }

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 #7859ac

RGB Code Hex Code Preview
rgb(120, 89, 172, 10%) #7859ac1a  
rgb(120, 89, 172, 20%) #7859ac33  
rgb(120, 89, 172, 40%) #7859ac4C  
rgb(120, 89, 172, 60%) #7859ac99  
rgb(120, 89, 172, 80%) #7859acCC  
rgb(120, 89, 172, 100%) #7859acFF  

Saturated and desaturated colors of #7859ac

HSL Code Preview
hsl(262, 10%, 51%)  
hsl(262, 20%, 51%)  
hsl(262, 40%, 51%)  
hsl(262, 60%, 51%)  
hsl(262, 80%, 51%)  
hsl(262, 100%, 51%)  

#7859ac Color Usage In CSS

 body {
    color: #7859ac;
    }
 p {
    color: rgb(120, 89, 172);
    }
 header {
    border-bottom:1px solid #7859ac;
    }
Recent Random Colors