Random Color Generator

#ec0e76 Color

Color Codes
Hex Code #ec0e76
RGB Code rgb(236, 14, 118)
HSL Code hsl(332, 89%, 49%)

#ec0e76 Color Syntax

rgb()

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

 main {
    background-color: rgb(236, 14, 118);
   }

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(332, 89%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(236, 14, 118, 10%) #ec0e761a  
rgb(236, 14, 118, 20%) #ec0e7633  
rgb(236, 14, 118, 40%) #ec0e764C  
rgb(236, 14, 118, 60%) #ec0e7699  
rgb(236, 14, 118, 80%) #ec0e76CC  
rgb(236, 14, 118, 100%) #ec0e76FF  

Saturated and desaturated colors of #ec0e76

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

#ec0e76 Color Usage In CSS

 body {
    color: #ec0e76;
    }
 p {
    color: rgb(236, 14, 118);
    }
 header {
    border-bottom:1px solid #ec0e76;
    }
Recent Random Colors