Random Color Generator

#04a727 Color

Color Codes
Hex Code #04a727
RGB Code rgb(04, 167, 39)
HSL Code hsl(133, 95%, 34%)

#04a727 Color Syntax

rgb()

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

 main {
    background-color: rgb(04, 167, 39);
   }

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(133, 95%, 34%);
  }

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 #04a727

RGB Code Hex Code Preview
rgb(04, 167, 39, 10%) #04a7271a  
rgb(04, 167, 39, 20%) #04a72733  
rgb(04, 167, 39, 40%) #04a7274C  
rgb(04, 167, 39, 60%) #04a72799  
rgb(04, 167, 39, 80%) #04a727CC  
rgb(04, 167, 39, 100%) #04a727FF  

Saturated and desaturated colors of #04a727

HSL Code Preview
hsl(133, 10%, 34%)  
hsl(133, 20%, 34%)  
hsl(133, 40%, 34%)  
hsl(133, 60%, 34%)  
hsl(133, 80%, 34%)  
hsl(133, 100%, 34%)  

#04a727 Color Usage In CSS

 body {
    color: #04a727;
    }
 p {
    color: rgb(04, 167, 39);
    }
 header {
    border-bottom:1px solid #04a727;
    }
Recent Random Colors