Random Color Generator

#c56e87 Color

Color Codes
Hex Code #c56e87
RGB Code rgb(197, 110, 135)
HSL Code hsl(343, 43%, 60%)

#c56e87 Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 110, 135);
   }

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(343, 43%, 60%);
  }

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

RGB Code Hex Code Preview
rgb(197, 110, 135, 10%) #c56e871a  
rgb(197, 110, 135, 20%) #c56e8733  
rgb(197, 110, 135, 40%) #c56e874C  
rgb(197, 110, 135, 60%) #c56e8799  
rgb(197, 110, 135, 80%) #c56e87CC  
rgb(197, 110, 135, 100%) #c56e87FF  

Saturated and desaturated colors of #c56e87

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

#c56e87 Color Usage In CSS

 body {
    color: #c56e87;
    }
 p {
    color: rgb(197, 110, 135);
    }
 header {
    border-bottom:1px solid #c56e87;
    }
Recent Random Colors