Random Color Generator

#cf7980 Color

Color Codes
Hex Code #cf7980
RGB Code rgb(207, 121, 128)
HSL Code hsl(355, 47%, 64%)

#cf7980 Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 121, 128);
   }

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(355, 47%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(207, 121, 128, 10%) #cf79801a  
rgb(207, 121, 128, 20%) #cf798033  
rgb(207, 121, 128, 40%) #cf79804C  
rgb(207, 121, 128, 60%) #cf798099  
rgb(207, 121, 128, 80%) #cf7980CC  
rgb(207, 121, 128, 100%) #cf7980FF  

Saturated and desaturated colors of #cf7980

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

#cf7980 Color Usage In CSS

 body {
    color: #cf7980;
    }
 p {
    color: rgb(207, 121, 128);
    }
 header {
    border-bottom:1px solid #cf7980;
    }
Recent Random Colors