Random Color Generator

#301510 Color

Color Codes
Hex Code #301510
RGB Code rgb(48, 21, 16)
HSL Code hsl(9, 50%, 13%)

#301510 Color Syntax

rgb()

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

 main {
    background-color: rgb(48, 21, 16);
   }

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(9, 50%, 13%);
  }

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

RGB Code Hex Code Preview
rgb(48, 21, 16, 10%) #3015101a  
rgb(48, 21, 16, 20%) #30151033  
rgb(48, 21, 16, 40%) #3015104C  
rgb(48, 21, 16, 60%) #30151099  
rgb(48, 21, 16, 80%) #301510CC  
rgb(48, 21, 16, 100%) #301510FF  

Saturated and desaturated colors of #301510

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

#301510 Color Usage In CSS

 body {
    color: #301510;
    }
 p {
    color: rgb(48, 21, 16);
    }
 header {
    border-bottom:1px solid #301510;
    }
Recent Random Colors