Random Color Generator

#cdc811 Color

Color Codes
Hex Code #cdc811
RGB Code rgb(205, 200, 17)
HSL Code hsl(58, 85%, 44%)

#cdc811 Color Syntax

rgb()

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

 main {
    background-color: rgb(205, 200, 17);
   }

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(58, 85%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(205, 200, 17, 10%) #cdc8111a  
rgb(205, 200, 17, 20%) #cdc81133  
rgb(205, 200, 17, 40%) #cdc8114C  
rgb(205, 200, 17, 60%) #cdc81199  
rgb(205, 200, 17, 80%) #cdc811CC  
rgb(205, 200, 17, 100%) #cdc811FF  

Saturated and desaturated colors of #cdc811

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

#cdc811 Color Usage In CSS

 body {
    color: #cdc811;
    }
 p {
    color: rgb(205, 200, 17);
    }
 header {
    border-bottom:1px solid #cdc811;
    }
Recent Random Colors