Random Color Generator

#ec382f Color

Color Codes
Hex Code #ec382f
RGB Code rgb(236, 56, 47)
HSL Code hsl(3, 83%, 55%)

#ec382f Color Syntax

rgb()

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

 main {
    background-color: rgb(236, 56, 47);
   }

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(3, 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 #ec382f

RGB Code Hex Code Preview
rgb(236, 56, 47, 10%) #ec382f1a  
rgb(236, 56, 47, 20%) #ec382f33  
rgb(236, 56, 47, 40%) #ec382f4C  
rgb(236, 56, 47, 60%) #ec382f99  
rgb(236, 56, 47, 80%) #ec382fCC  
rgb(236, 56, 47, 100%) #ec382fFF  

Saturated and desaturated colors of #ec382f

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

#ec382f Color Usage In CSS

 body {
    color: #ec382f;
    }
 p {
    color: rgb(236, 56, 47);
    }
 header {
    border-bottom:1px solid #ec382f;
    }
Recent Random Colors