Random Color Generator

#04f021 Color

Color Codes
Hex Code #04f021
RGB Code rgb(04, 240, 33)
HSL Code hsl(127, 97%, 48%)

#04f021 Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 240, 33);
   }

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(127, 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 #04f021

RGB Code Hex Code Preview
rgb(04, 240, 33, 10%) #04f0211a  
rgb(04, 240, 33, 20%) #04f02133  
rgb(04, 240, 33, 40%) #04f0214C  
rgb(04, 240, 33, 60%) #04f02199  
rgb(04, 240, 33, 80%) #04f021CC  
rgb(04, 240, 33, 100%) #04f021FF  

Saturated and desaturated colors of #04f021

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

#04f021 Color Usage In CSS

 body {
    color: #04f021;
    }
 p {
    color: rgb(04, 240, 33);
    }
 header {
    border-bottom:1px solid #04f021;
    }
Recent Random Colors