Random Color Generator

#a50674 Color

Color Codes
Hex Code #a50674
RGB Code rgb(165, 06, 116)
HSL Code hsl(318, 93%, 34%)

#a50674 Color Syntax

rgb()

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

 main {
    background-color: rgb(165, 06, 116);
   }

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(318, 93%, 34%);
  }

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

RGB Code Hex Code Preview
rgb(165, 06, 116, 10%) #a506741a  
rgb(165, 06, 116, 20%) #a5067433  
rgb(165, 06, 116, 40%) #a506744C  
rgb(165, 06, 116, 60%) #a5067499  
rgb(165, 06, 116, 80%) #a50674CC  
rgb(165, 06, 116, 100%) #a50674FF  

Saturated and desaturated colors of #a50674

HSL Code Preview
hsl(318, 10%, 34%)  
hsl(318, 20%, 34%)  
hsl(318, 40%, 34%)  
hsl(318, 60%, 34%)  
hsl(318, 80%, 34%)  
hsl(318, 100%, 34%)  

#a50674 Color Usage In CSS

 body {
    color: #a50674;
    }
 p {
    color: rgb(165, 06, 116);
    }
 header {
    border-bottom:1px solid #a50674;
    }
Recent Random Colors