Random Color Generator

#ccb50c Color

Color Codes
Hex Code #ccb50c
RGB Code rgb(204, 181, 12)
HSL Code hsl(53, 89%, 42%)

#ccb50c Color Syntax

rgb()

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

 main {
    background-color: rgb(204, 181, 12);
   }

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(53, 89%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(204, 181, 12, 10%) #ccb50c1a  
rgb(204, 181, 12, 20%) #ccb50c33  
rgb(204, 181, 12, 40%) #ccb50c4C  
rgb(204, 181, 12, 60%) #ccb50c99  
rgb(204, 181, 12, 80%) #ccb50cCC  
rgb(204, 181, 12, 100%) #ccb50cFF  

Saturated and desaturated colors of #ccb50c

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

#ccb50c Color Usage In CSS

 body {
    color: #ccb50c;
    }
 p {
    color: rgb(204, 181, 12);
    }
 header {
    border-bottom:1px solid #ccb50c;
    }
Recent Random Colors