Random Color Generator

#d2d52c Color

Color Codes
Hex Code #d2d52c
RGB Code rgb(210, 213, 44)
HSL Code hsl(61, 67%, 50%)

#d2d52c Color Syntax

rgb()

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

 main {
    background-color: rgb(210, 213, 44);
   }

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(61, 67%, 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 #d2d52c

RGB Code Hex Code Preview
rgb(210, 213, 44, 10%) #d2d52c1a  
rgb(210, 213, 44, 20%) #d2d52c33  
rgb(210, 213, 44, 40%) #d2d52c4C  
rgb(210, 213, 44, 60%) #d2d52c99  
rgb(210, 213, 44, 80%) #d2d52cCC  
rgb(210, 213, 44, 100%) #d2d52cFF  

Saturated and desaturated colors of #d2d52c

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

#d2d52c Color Usage In CSS

 body {
    color: #d2d52c;
    }
 p {
    color: rgb(210, 213, 44);
    }
 header {
    border-bottom:1px solid #d2d52c;
    }
Recent Random Colors