Random Color Generator

#0a621f Color

Color Codes
Hex Code #0a621f
RGB Code rgb(10, 98, 31)
HSL Code hsl(134, 81%, 21%)

#0a621f Color Syntax

rgb()

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

 main {
    background-color: rgb(10, 98, 31);
   }

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(134, 81%, 21%);
  }

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 #0a621f

RGB Code Hex Code Preview
rgb(10, 98, 31, 10%) #0a621f1a  
rgb(10, 98, 31, 20%) #0a621f33  
rgb(10, 98, 31, 40%) #0a621f4C  
rgb(10, 98, 31, 60%) #0a621f99  
rgb(10, 98, 31, 80%) #0a621fCC  
rgb(10, 98, 31, 100%) #0a621fFF  

Saturated and desaturated colors of #0a621f

HSL Code Preview
hsl(134, 10%, 21%)  
hsl(134, 20%, 21%)  
hsl(134, 40%, 21%)  
hsl(134, 60%, 21%)  
hsl(134, 80%, 21%)  
hsl(134, 100%, 21%)  

#0a621f Color Usage In CSS

 body {
    color: #0a621f;
    }
 p {
    color: rgb(10, 98, 31);
    }
 header {
    border-bottom:1px solid #0a621f;
    }
Recent Random Colors