Random Color Generator

#b28017 Color

Color Codes
Hex Code #b28017
RGB Code rgb(178, 128, 23)
HSL Code hsl(41, 77%, 39%)

#b28017 Color Syntax

rgb()

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

 main {
    background-color: rgb(178, 128, 23);
   }

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(41, 77%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(178, 128, 23, 10%) #b280171a  
rgb(178, 128, 23, 20%) #b2801733  
rgb(178, 128, 23, 40%) #b280174C  
rgb(178, 128, 23, 60%) #b2801799  
rgb(178, 128, 23, 80%) #b28017CC  
rgb(178, 128, 23, 100%) #b28017FF  

Saturated and desaturated colors of #b28017

HSL Code Preview
hsl(41, 10%, 39%)  
hsl(41, 20%, 39%)  
hsl(41, 40%, 39%)  
hsl(41, 60%, 39%)  
hsl(41, 80%, 39%)  
hsl(41, 100%, 39%)  

#b28017 Color Usage In CSS

 body {
    color: #b28017;
    }
 p {
    color: rgb(178, 128, 23);
    }
 header {
    border-bottom:1px solid #b28017;
    }
Recent Random Colors