Random Color Generator

#c7f28a Color

Color Codes
Hex Code #c7f28a
RGB Code rgb(199, 242, 138)
HSL Code hsl(85, 80%, 75%)

#c7f28a Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 242, 138);
   }

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(85, 80%, 75%);
  }

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 #c7f28a

RGB Code Hex Code Preview
rgb(199, 242, 138, 10%) #c7f28a1a  
rgb(199, 242, 138, 20%) #c7f28a33  
rgb(199, 242, 138, 40%) #c7f28a4C  
rgb(199, 242, 138, 60%) #c7f28a99  
rgb(199, 242, 138, 80%) #c7f28aCC  
rgb(199, 242, 138, 100%) #c7f28aFF  

Saturated and desaturated colors of #c7f28a

HSL Code Preview
hsl(85, 10%, 75%)  
hsl(85, 20%, 75%)  
hsl(85, 40%, 75%)  
hsl(85, 60%, 75%)  
hsl(85, 80%, 75%)  
hsl(85, 100%, 75%)  

#c7f28a Color Usage In CSS

 body {
    color: #c7f28a;
    }
 p {
    color: rgb(199, 242, 138);
    }
 header {
    border-bottom:1px solid #c7f28a;
    }
Recent Random Colors