Random Color Generator

#cfa80f Color

Color Codes
Hex Code #cfa80f
RGB Code rgb(207, 168, 15)
HSL Code hsl(48, 86%, 44%)

#cfa80f Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 168, 15);
   }

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(48, 86%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(207, 168, 15, 10%) #cfa80f1a  
rgb(207, 168, 15, 20%) #cfa80f33  
rgb(207, 168, 15, 40%) #cfa80f4C  
rgb(207, 168, 15, 60%) #cfa80f99  
rgb(207, 168, 15, 80%) #cfa80fCC  
rgb(207, 168, 15, 100%) #cfa80fFF  

Saturated and desaturated colors of #cfa80f

HSL Code Preview
hsl(48, 10%, 44%)  
hsl(48, 20%, 44%)  
hsl(48, 40%, 44%)  
hsl(48, 60%, 44%)  
hsl(48, 80%, 44%)  
hsl(48, 100%, 44%)  

#cfa80f Color Usage In CSS

 body {
    color: #cfa80f;
    }
 p {
    color: rgb(207, 168, 15);
    }
 header {
    border-bottom:1px solid #cfa80f;
    }
Recent Random Colors