Random Color Generator

#a1a815 Color

Color Codes
Hex Code #a1a815
RGB Code rgb(161, 168, 21)
HSL Code hsl(63, 78%, 37%)

#a1a815 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 168, 21);
   }

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(63, 78%, 37%);
  }

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

RGB Code Hex Code Preview
rgb(161, 168, 21, 10%) #a1a8151a  
rgb(161, 168, 21, 20%) #a1a81533  
rgb(161, 168, 21, 40%) #a1a8154C  
rgb(161, 168, 21, 60%) #a1a81599  
rgb(161, 168, 21, 80%) #a1a815CC  
rgb(161, 168, 21, 100%) #a1a815FF  

Saturated and desaturated colors of #a1a815

HSL Code Preview
hsl(63, 10%, 37%)  
hsl(63, 20%, 37%)  
hsl(63, 40%, 37%)  
hsl(63, 60%, 37%)  
hsl(63, 80%, 37%)  
hsl(63, 100%, 37%)  

#a1a815 Color Usage In CSS

 body {
    color: #a1a815;
    }
 p {
    color: rgb(161, 168, 21);
    }
 header {
    border-bottom:1px solid #a1a815;
    }
Recent Random Colors