Random Color Generator

#875079 Color

Color Codes
Hex Code #875079
RGB Code rgb(135, 80, 121)
HSL Code hsl(315, 26%, 42%)

#875079 Color Syntax

rgb()

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

 main {
    background-color: rgb(135, 80, 121);
   }

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(315, 26%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(135, 80, 121, 10%) #8750791a  
rgb(135, 80, 121, 20%) #87507933  
rgb(135, 80, 121, 40%) #8750794C  
rgb(135, 80, 121, 60%) #87507999  
rgb(135, 80, 121, 80%) #875079CC  
rgb(135, 80, 121, 100%) #875079FF  

Saturated and desaturated colors of #875079

HSL Code Preview
hsl(315, 10%, 42%)  
hsl(315, 20%, 42%)  
hsl(315, 40%, 42%)  
hsl(315, 60%, 42%)  
hsl(315, 80%, 42%)  
hsl(315, 100%, 42%)  

#875079 Color Usage In CSS

 body {
    color: #875079;
    }
 p {
    color: rgb(135, 80, 121);
    }
 header {
    border-bottom:1px solid #875079;
    }
Recent Random Colors