Random Color Generator

#1cc310 Color

Color Codes
Hex Code #1cc310
RGB Code rgb(28, 195, 16)
HSL Code hsl(116, 85%, 41%)

#1cc310 Color Syntax

rgb()

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

 main {
    background-color: rgb(28, 195, 16);
   }

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(116, 85%, 41%);
  }

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 #1cc310

RGB Code Hex Code Preview
rgb(28, 195, 16, 10%) #1cc3101a  
rgb(28, 195, 16, 20%) #1cc31033  
rgb(28, 195, 16, 40%) #1cc3104C  
rgb(28, 195, 16, 60%) #1cc31099  
rgb(28, 195, 16, 80%) #1cc310CC  
rgb(28, 195, 16, 100%) #1cc310FF  

Saturated and desaturated colors of #1cc310

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

#1cc310 Color Usage In CSS

 body {
    color: #1cc310;
    }
 p {
    color: rgb(28, 195, 16);
    }
 header {
    border-bottom:1px solid #1cc310;
    }
Recent Random Colors