Random Color Generator

#ec164b Color

Color Codes
Hex Code #ec164b
RGB Code rgb(236, 22, 75)
HSL Code hsl(345, 85%, 51%)

#ec164b Color Syntax

rgb()

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

 main {
    background-color: rgb(236, 22, 75);
   }

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(345, 85%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(236, 22, 75, 10%) #ec164b1a  
rgb(236, 22, 75, 20%) #ec164b33  
rgb(236, 22, 75, 40%) #ec164b4C  
rgb(236, 22, 75, 60%) #ec164b99  
rgb(236, 22, 75, 80%) #ec164bCC  
rgb(236, 22, 75, 100%) #ec164bFF  

Saturated and desaturated colors of #ec164b

HSL Code Preview
hsl(345, 10%, 51%)  
hsl(345, 20%, 51%)  
hsl(345, 40%, 51%)  
hsl(345, 60%, 51%)  
hsl(345, 80%, 51%)  
hsl(345, 100%, 51%)  

#ec164b Color Usage In CSS

 body {
    color: #ec164b;
    }
 p {
    color: rgb(236, 22, 75);
    }
 header {
    border-bottom:1px solid #ec164b;
    }
Recent Random Colors