Random Color Generator

#dad348 Color

Color Codes
Hex Code #dad348
RGB Code rgb(218, 211, 72)
HSL Code hsl(57, 66%, 57%)

#dad348 Color Syntax

rgb()

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

 main {
    background-color: rgb(218, 211, 72);
   }

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(57, 66%, 57%);
  }

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

RGB Code Hex Code Preview
rgb(218, 211, 72, 10%) #dad3481a  
rgb(218, 211, 72, 20%) #dad34833  
rgb(218, 211, 72, 40%) #dad3484C  
rgb(218, 211, 72, 60%) #dad34899  
rgb(218, 211, 72, 80%) #dad348CC  
rgb(218, 211, 72, 100%) #dad348FF  

Saturated and desaturated colors of #dad348

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

#dad348 Color Usage In CSS

 body {
    color: #dad348;
    }
 p {
    color: rgb(218, 211, 72);
    }
 header {
    border-bottom:1px solid #dad348;
    }
Recent Random Colors