Random Color Generator

#afa10b Color

Color Codes
Hex Code #afa10b
RGB Code rgb(175, 161, 11)
HSL Code hsl(55, 88%, 36%)

#afa10b Color Syntax

rgb()

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

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

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(55, 88%, 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 #afa10b

RGB Code Hex Code Preview
rgb(175, 161, 11, 10%) #afa10b1a  
rgb(175, 161, 11, 20%) #afa10b33  
rgb(175, 161, 11, 40%) #afa10b4C  
rgb(175, 161, 11, 60%) #afa10b99  
rgb(175, 161, 11, 80%) #afa10bCC  
rgb(175, 161, 11, 100%) #afa10bFF  

Saturated and desaturated colors of #afa10b

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

#afa10b Color Usage In CSS

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