Random Color Generator

#e5ab1f Color

Color Codes
Hex Code #e5ab1f
RGB Code rgb(229, 171, 31)
HSL Code hsl(42, 79%, 51%)

#e5ab1f Color Syntax

rgb()

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

 main {
    background-color: rgb(229, 171, 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(42, 79%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(229, 171, 31, 10%) #e5ab1f1a  
rgb(229, 171, 31, 20%) #e5ab1f33  
rgb(229, 171, 31, 40%) #e5ab1f4C  
rgb(229, 171, 31, 60%) #e5ab1f99  
rgb(229, 171, 31, 80%) #e5ab1fCC  
rgb(229, 171, 31, 100%) #e5ab1fFF  

Saturated and desaturated colors of #e5ab1f

HSL Code Preview
hsl(42, 10%, 51%)  
hsl(42, 20%, 51%)  
hsl(42, 40%, 51%)  
hsl(42, 60%, 51%)  
hsl(42, 80%, 51%)  
hsl(42, 100%, 51%)  

#e5ab1f Color Usage In CSS

 body {
    color: #e5ab1f;
    }
 p {
    color: rgb(229, 171, 31);
    }
 header {
    border-bottom:1px solid #e5ab1f;
    }
Recent Random Colors