Random Color Generator

#a1af0a Color

Color Codes
Hex Code #a1af0a
RGB Code rgb(161, 175, 10)
HSL Code hsl(65, 89%, 36%)

#a1af0a Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 175, 10);
   }

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(65, 89%, 36%);
  }

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

RGB Code Hex Code Preview
rgb(161, 175, 10, 10%) #a1af0a1a  
rgb(161, 175, 10, 20%) #a1af0a33  
rgb(161, 175, 10, 40%) #a1af0a4C  
rgb(161, 175, 10, 60%) #a1af0a99  
rgb(161, 175, 10, 80%) #a1af0aCC  
rgb(161, 175, 10, 100%) #a1af0aFF  

Saturated and desaturated colors of #a1af0a

HSL Code Preview
hsl(65, 10%, 36%)  
hsl(65, 20%, 36%)  
hsl(65, 40%, 36%)  
hsl(65, 60%, 36%)  
hsl(65, 80%, 36%)  
hsl(65, 100%, 36%)  

#a1af0a Color Usage In CSS

 body {
    color: #a1af0a;
    }
 p {
    color: rgb(161, 175, 10);
    }
 header {
    border-bottom:1px solid #a1af0a;
    }
Recent Random Colors