Random Color Generator

#300827 Color

Color Codes
Hex Code #300827
RGB Code rgb(48, 08, 39)
HSL Code hsl(314, 71%, 11%)

#300827 Color Syntax

rgb()

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

 main {
    background-color: rgb(48, 08, 39);
   }

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(314, 71%, 11%);
  }

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

RGB Code Hex Code Preview
rgb(48, 08, 39, 10%) #3008271a  
rgb(48, 08, 39, 20%) #30082733  
rgb(48, 08, 39, 40%) #3008274C  
rgb(48, 08, 39, 60%) #30082799  
rgb(48, 08, 39, 80%) #300827CC  
rgb(48, 08, 39, 100%) #300827FF  

Saturated and desaturated colors of #300827

HSL Code Preview
hsl(314, 10%, 11%)  
hsl(314, 20%, 11%)  
hsl(314, 40%, 11%)  
hsl(314, 60%, 11%)  
hsl(314, 80%, 11%)  
hsl(314, 100%, 11%)  

#300827 Color Usage In CSS

 body {
    color: #300827;
    }
 p {
    color: rgb(48, 08, 39);
    }
 header {
    border-bottom:1px solid #300827;
    }
Recent Random Colors