Random Color Generator

#cbaa46 Color

Color Codes
Hex Code #cbaa46
RGB Code rgb(203, 170, 70)
HSL Code hsl(45, 56%, 54%)

#cbaa46 Color Syntax

rgb()

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

 main {
    background-color: rgb(203, 170, 70);
   }

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(45, 56%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(203, 170, 70, 10%) #cbaa461a  
rgb(203, 170, 70, 20%) #cbaa4633  
rgb(203, 170, 70, 40%) #cbaa464C  
rgb(203, 170, 70, 60%) #cbaa4699  
rgb(203, 170, 70, 80%) #cbaa46CC  
rgb(203, 170, 70, 100%) #cbaa46FF  

Saturated and desaturated colors of #cbaa46

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

#cbaa46 Color Usage In CSS

 body {
    color: #cbaa46;
    }
 p {
    color: rgb(203, 170, 70);
    }
 header {
    border-bottom:1px solid #cbaa46;
    }
Recent Random Colors