Random Color Generator

#38c948 Color

Color Codes
Hex Code #38c948
RGB Code rgb(56, 201, 72)
HSL Code hsl(127, 57%, 50%)

#38c948 Color Syntax

rgb()

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

 main {
    background-color: rgb(56, 201, 72);
   }

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, 57%, 50%);
  }

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 #38c948

RGB Code Hex Code Preview
rgb(56, 201, 72, 10%) #38c9481a  
rgb(56, 201, 72, 20%) #38c94833  
rgb(56, 201, 72, 40%) #38c9484C  
rgb(56, 201, 72, 60%) #38c94899  
rgb(56, 201, 72, 80%) #38c948CC  
rgb(56, 201, 72, 100%) #38c948FF  

Saturated and desaturated colors of #38c948

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

#38c948 Color Usage In CSS

 body {
    color: #38c948;
    }
 p {
    color: rgb(56, 201, 72);
    }
 header {
    border-bottom:1px solid #38c948;
    }
Recent Random Colors