Random Color Generator

#45c202 Color

Color Codes
Hex Code #45c202
RGB Code rgb(69, 194, 02)
HSL Code hsl(99, 98%, 38%)

#45c202 Color Syntax

rgb()

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

 main {
    background-color: rgb(69, 194, 02);
   }

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(99, 98%, 38%);
  }

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

RGB Code Hex Code Preview
rgb(69, 194, 02, 10%) #45c2021a  
rgb(69, 194, 02, 20%) #45c20233  
rgb(69, 194, 02, 40%) #45c2024C  
rgb(69, 194, 02, 60%) #45c20299  
rgb(69, 194, 02, 80%) #45c202CC  
rgb(69, 194, 02, 100%) #45c202FF  

Saturated and desaturated colors of #45c202

HSL Code Preview
hsl(99, 10%, 38%)  
hsl(99, 20%, 38%)  
hsl(99, 40%, 38%)  
hsl(99, 60%, 38%)  
hsl(99, 80%, 38%)  
hsl(99, 100%, 38%)  

#45c202 Color Usage In CSS

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