Random Color Generator

#c0c507 Color

Color Codes
Hex Code #c0c507
RGB Code rgb(192, 197, 07)
HSL Code hsl(62, 93%, 40%)

#c0c507 Color Syntax

rgb()

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

 main {
    background-color: rgb(192, 197, 07);
   }

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(62, 93%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(192, 197, 07, 10%) #c0c5071a  
rgb(192, 197, 07, 20%) #c0c50733  
rgb(192, 197, 07, 40%) #c0c5074C  
rgb(192, 197, 07, 60%) #c0c50799  
rgb(192, 197, 07, 80%) #c0c507CC  
rgb(192, 197, 07, 100%) #c0c507FF  

Saturated and desaturated colors of #c0c507

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

#c0c507 Color Usage In CSS

 body {
    color: #c0c507;
    }
 p {
    color: rgb(192, 197, 07);
    }
 header {
    border-bottom:1px solid #c0c507;
    }
Recent Random Colors