Random Color Generator

#d0c631 Color

Color Codes
Hex Code #d0c631
RGB Code rgb(208, 198, 49)
HSL Code hsl(56, 63%, 50%)

#d0c631 Color Syntax

rgb()

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

 main {
    background-color: rgb(208, 198, 49);
   }

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(56, 63%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(208, 198, 49, 10%) #d0c6311a  
rgb(208, 198, 49, 20%) #d0c63133  
rgb(208, 198, 49, 40%) #d0c6314C  
rgb(208, 198, 49, 60%) #d0c63199  
rgb(208, 198, 49, 80%) #d0c631CC  
rgb(208, 198, 49, 100%) #d0c631FF  

Saturated and desaturated colors of #d0c631

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

#d0c631 Color Usage In CSS

 body {
    color: #d0c631;
    }
 p {
    color: rgb(208, 198, 49);
    }
 header {
    border-bottom:1px solid #d0c631;
    }
Recent Random Colors