Random Color Generator

#ec6dab Color

Color Codes
Hex Code #ec6dab
RGB Code rgb(236, 109, 171)
HSL Code hsl(331, 77%, 68%)

#ec6dab Color Syntax

rgb()

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

 main {
    background-color: rgb(236, 109, 171);
   }

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(331, 77%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(236, 109, 171, 10%) #ec6dab1a  
rgb(236, 109, 171, 20%) #ec6dab33  
rgb(236, 109, 171, 40%) #ec6dab4C  
rgb(236, 109, 171, 60%) #ec6dab99  
rgb(236, 109, 171, 80%) #ec6dabCC  
rgb(236, 109, 171, 100%) #ec6dabFF  

Saturated and desaturated colors of #ec6dab

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

#ec6dab Color Usage In CSS

 body {
    color: #ec6dab;
    }
 p {
    color: rgb(236, 109, 171);
    }
 header {
    border-bottom:1px solid #ec6dab;
    }
Recent Random Colors