Random Color Generator

#42e101 Color

Color Codes
Hex Code #42e101
RGB Code rgb(66, 225, 01)
HSL Code hsl(103, 99%, 44%)

#42e101 Color Syntax

rgb()

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

 main {
    background-color: rgb(66, 225, 01);
   }

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(103, 99%, 44%);
  }

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 #42e101

RGB Code Hex Code Preview
rgb(66, 225, 01, 10%) #42e1011a  
rgb(66, 225, 01, 20%) #42e10133  
rgb(66, 225, 01, 40%) #42e1014C  
rgb(66, 225, 01, 60%) #42e10199  
rgb(66, 225, 01, 80%) #42e101CC  
rgb(66, 225, 01, 100%) #42e101FF  

Saturated and desaturated colors of #42e101

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

#42e101 Color Usage In CSS

 body {
    color: #42e101;
    }
 p {
    color: rgb(66, 225, 01);
    }
 header {
    border-bottom:1px solid #42e101;
    }
Recent Random Colors