Random Color Generator

#ec2869 Color

Color Codes
Hex Code #ec2869
RGB Code rgb(236, 40, 105)
HSL Code hsl(340, 84%, 54%)

#ec2869 Color Syntax

rgb()

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

 main {
    background-color: rgb(236, 40, 105);
   }

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(340, 84%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(236, 40, 105, 10%) #ec28691a  
rgb(236, 40, 105, 20%) #ec286933  
rgb(236, 40, 105, 40%) #ec28694C  
rgb(236, 40, 105, 60%) #ec286999  
rgb(236, 40, 105, 80%) #ec2869CC  
rgb(236, 40, 105, 100%) #ec2869FF  

Saturated and desaturated colors of #ec2869

HSL Code Preview
hsl(340, 10%, 54%)  
hsl(340, 20%, 54%)  
hsl(340, 40%, 54%)  
hsl(340, 60%, 54%)  
hsl(340, 80%, 54%)  
hsl(340, 100%, 54%)  

#ec2869 Color Usage In CSS

 body {
    color: #ec2869;
    }
 p {
    color: rgb(236, 40, 105);
    }
 header {
    border-bottom:1px solid #ec2869;
    }
Recent Random Colors