Random Color Generator

#ceb730 Color

Color Codes
Hex Code #ceb730
RGB Code rgb(206, 183, 48)
HSL Code hsl(51, 62%, 50%)

#ceb730 Color Syntax

rgb()

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

 main {
    background-color: rgb(206, 183, 48);
   }

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(51, 62%, 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 #ceb730

RGB Code Hex Code Preview
rgb(206, 183, 48, 10%) #ceb7301a  
rgb(206, 183, 48, 20%) #ceb73033  
rgb(206, 183, 48, 40%) #ceb7304C  
rgb(206, 183, 48, 60%) #ceb73099  
rgb(206, 183, 48, 80%) #ceb730CC  
rgb(206, 183, 48, 100%) #ceb730FF  

Saturated and desaturated colors of #ceb730

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

#ceb730 Color Usage In CSS

 body {
    color: #ceb730;
    }
 p {
    color: rgb(206, 183, 48);
    }
 header {
    border-bottom:1px solid #ceb730;
    }
Recent Random Colors