Random Color Generator

#7df546 Color

Color Codes
Hex Code #7df546
RGB Code rgb(125, 245, 70)
HSL Code hsl(101, 90%, 62%)

#7df546 Color Syntax

rgb()

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

 main {
    background-color: rgb(125, 245, 70);
   }

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(101, 90%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(125, 245, 70, 10%) #7df5461a  
rgb(125, 245, 70, 20%) #7df54633  
rgb(125, 245, 70, 40%) #7df5464C  
rgb(125, 245, 70, 60%) #7df54699  
rgb(125, 245, 70, 80%) #7df546CC  
rgb(125, 245, 70, 100%) #7df546FF  

Saturated and desaturated colors of #7df546

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

#7df546 Color Usage In CSS

 body {
    color: #7df546;
    }
 p {
    color: rgb(125, 245, 70);
    }
 header {
    border-bottom:1px solid #7df546;
    }
Recent Random Colors