Random Color Generator

#45e158 Color

Color Codes
Hex Code #45e158
RGB Code rgb(69, 225, 88)
HSL Code hsl(127, 72%, 58%)

#45e158 Color Syntax

rgb()

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

 main {
    background-color: rgb(69, 225, 88);
   }

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(127, 72%, 58%);
  }

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 #45e158

RGB Code Hex Code Preview
rgb(69, 225, 88, 10%) #45e1581a  
rgb(69, 225, 88, 20%) #45e15833  
rgb(69, 225, 88, 40%) #45e1584C  
rgb(69, 225, 88, 60%) #45e15899  
rgb(69, 225, 88, 80%) #45e158CC  
rgb(69, 225, 88, 100%) #45e158FF  

Saturated and desaturated colors of #45e158

HSL Code Preview
hsl(127, 10%, 58%)  
hsl(127, 20%, 58%)  
hsl(127, 40%, 58%)  
hsl(127, 60%, 58%)  
hsl(127, 80%, 58%)  
hsl(127, 100%, 58%)  

#45e158 Color Usage In CSS

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