Random Color Generator

#ec50cb Color

Color Codes
Hex Code #ec50cb
RGB Code rgb(236, 80, 203)
HSL Code hsl(313, 80%, 62%)

#ec50cb Color Syntax

rgb()

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

 main {
    background-color: rgb(236, 80, 203);
   }

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(313, 80%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(236, 80, 203, 10%) #ec50cb1a  
rgb(236, 80, 203, 20%) #ec50cb33  
rgb(236, 80, 203, 40%) #ec50cb4C  
rgb(236, 80, 203, 60%) #ec50cb99  
rgb(236, 80, 203, 80%) #ec50cbCC  
rgb(236, 80, 203, 100%) #ec50cbFF  

Saturated and desaturated colors of #ec50cb

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

#ec50cb Color Usage In CSS

 body {
    color: #ec50cb;
    }
 p {
    color: rgb(236, 80, 203);
    }
 header {
    border-bottom:1px solid #ec50cb;
    }
Recent Random Colors