Random Color Generator

#ec2e6b Color

Color Codes
Hex Code #ec2e6b
RGB Code rgb(236, 46, 107)
HSL Code hsl(341, 83%, 55%)

#ec2e6b Color Syntax

rgb()

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

 main {
    background-color: rgb(236, 46, 107);
   }

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(341, 83%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(236, 46, 107, 10%) #ec2e6b1a  
rgb(236, 46, 107, 20%) #ec2e6b33  
rgb(236, 46, 107, 40%) #ec2e6b4C  
rgb(236, 46, 107, 60%) #ec2e6b99  
rgb(236, 46, 107, 80%) #ec2e6bCC  
rgb(236, 46, 107, 100%) #ec2e6bFF  

Saturated and desaturated colors of #ec2e6b

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

#ec2e6b Color Usage In CSS

 body {
    color: #ec2e6b;
    }
 p {
    color: rgb(236, 46, 107);
    }
 header {
    border-bottom:1px solid #ec2e6b;
    }
Recent Random Colors