Random Color Generator

#c5e127 Color

Color Codes
Hex Code #c5e127
RGB Code rgb(197, 225, 39)
HSL Code hsl(69, 76%, 52%)

#c5e127 Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 225, 39);
   }

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(69, 76%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(197, 225, 39, 10%) #c5e1271a  
rgb(197, 225, 39, 20%) #c5e12733  
rgb(197, 225, 39, 40%) #c5e1274C  
rgb(197, 225, 39, 60%) #c5e12799  
rgb(197, 225, 39, 80%) #c5e127CC  
rgb(197, 225, 39, 100%) #c5e127FF  

Saturated and desaturated colors of #c5e127

HSL Code Preview
hsl(69, 10%, 52%)  
hsl(69, 20%, 52%)  
hsl(69, 40%, 52%)  
hsl(69, 60%, 52%)  
hsl(69, 80%, 52%)  
hsl(69, 100%, 52%)  

#c5e127 Color Usage In CSS

 body {
    color: #c5e127;
    }
 p {
    color: rgb(197, 225, 39);
    }
 header {
    border-bottom:1px solid #c5e127;
    }
Recent Random Colors