Random Color Generator

#97bd1f Color

Color Codes
Hex Code #97bd1f
RGB Code rgb(151, 189, 31)
HSL Code hsl(74, 72%, 43%)

#97bd1f Color Syntax

rgb()

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

 main {
    background-color: rgb(151, 189, 31);
   }

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(74, 72%, 43%);
  }

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 #97bd1f

RGB Code Hex Code Preview
rgb(151, 189, 31, 10%) #97bd1f1a  
rgb(151, 189, 31, 20%) #97bd1f33  
rgb(151, 189, 31, 40%) #97bd1f4C  
rgb(151, 189, 31, 60%) #97bd1f99  
rgb(151, 189, 31, 80%) #97bd1fCC  
rgb(151, 189, 31, 100%) #97bd1fFF  

Saturated and desaturated colors of #97bd1f

HSL Code Preview
hsl(74, 10%, 43%)  
hsl(74, 20%, 43%)  
hsl(74, 40%, 43%)  
hsl(74, 60%, 43%)  
hsl(74, 80%, 43%)  
hsl(74, 100%, 43%)  

#97bd1f Color Usage In CSS

 body {
    color: #97bd1f;
    }
 p {
    color: rgb(151, 189, 31);
    }
 header {
    border-bottom:1px solid #97bd1f;
    }
Recent Random Colors