Random Color Generator

#45c170 Color

Color Codes
Hex Code #45c170
RGB Code rgb(69, 193, 112)
HSL Code hsl(141, 50%, 51%)

#45c170 Color Syntax

rgb()

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

 main {
    background-color: rgb(69, 193, 112);
   }

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(141, 50%, 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 #45c170

RGB Code Hex Code Preview
rgb(69, 193, 112, 10%) #45c1701a  
rgb(69, 193, 112, 20%) #45c17033  
rgb(69, 193, 112, 40%) #45c1704C  
rgb(69, 193, 112, 60%) #45c17099  
rgb(69, 193, 112, 80%) #45c170CC  
rgb(69, 193, 112, 100%) #45c170FF  

Saturated and desaturated colors of #45c170

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

#45c170 Color Usage In CSS

 body {
    color: #45c170;
    }
 p {
    color: rgb(69, 193, 112);
    }
 header {
    border-bottom:1px solid #45c170;
    }
Recent Random Colors