Random Color Generator

#c6f340 Color

Color Codes
Hex Code #c6f340
RGB Code rgb(198, 243, 64)
HSL Code hsl(75, 88%, 60%)

#c6f340 Color Syntax

rgb()

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

 main {
    background-color: rgb(198, 243, 64);
   }

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(75, 88%, 60%);
  }

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

RGB Code Hex Code Preview
rgb(198, 243, 64, 10%) #c6f3401a  
rgb(198, 243, 64, 20%) #c6f34033  
rgb(198, 243, 64, 40%) #c6f3404C  
rgb(198, 243, 64, 60%) #c6f34099  
rgb(198, 243, 64, 80%) #c6f340CC  
rgb(198, 243, 64, 100%) #c6f340FF  

Saturated and desaturated colors of #c6f340

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

#c6f340 Color Usage In CSS

 body {
    color: #c6f340;
    }
 p {
    color: rgb(198, 243, 64);
    }
 header {
    border-bottom:1px solid #c6f340;
    }
Recent Random Colors