Random Color Generator

#38b838 Color

Color Codes
Hex Code #38b838
RGB Code rgb(56, 184, 56)
HSL Code hsl(120, 53%, 47%)

#38b838 Color Syntax

rgb()

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

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

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(120, 53%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(56, 184, 56, 10%) #38b8381a  
rgb(56, 184, 56, 20%) #38b83833  
rgb(56, 184, 56, 40%) #38b8384C  
rgb(56, 184, 56, 60%) #38b83899  
rgb(56, 184, 56, 80%) #38b838CC  
rgb(56, 184, 56, 100%) #38b838FF  

Saturated and desaturated colors of #38b838

HSL Code Preview
hsl(120, 10%, 47%)  
hsl(120, 20%, 47%)  
hsl(120, 40%, 47%)  
hsl(120, 60%, 47%)  
hsl(120, 80%, 47%)  
hsl(120, 100%, 47%)  

#38b838 Color Usage In CSS

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