Random Color Generator

#4cf304 Color

Color Codes
Hex Code #4cf304
RGB Code rgb(76, 243, 04)
HSL Code hsl(102, 97%, 48%)

#4cf304 Color Syntax

rgb()

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

 main {
    background-color: rgb(76, 243, 04);
   }

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(102, 97%, 48%);
  }

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 #4cf304

RGB Code Hex Code Preview
rgb(76, 243, 04, 10%) #4cf3041a  
rgb(76, 243, 04, 20%) #4cf30433  
rgb(76, 243, 04, 40%) #4cf3044C  
rgb(76, 243, 04, 60%) #4cf30499  
rgb(76, 243, 04, 80%) #4cf304CC  
rgb(76, 243, 04, 100%) #4cf304FF  

Saturated and desaturated colors of #4cf304

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

#4cf304 Color Usage In CSS

 body {
    color: #4cf304;
    }
 p {
    color: rgb(76, 243, 04);
    }
 header {
    border-bottom:1px solid #4cf304;
    }
Recent Random Colors