Random Color Generator

#370538 Color

Color Codes
Hex Code #370538
RGB Code rgb(55, 05, 56)
HSL Code hsl(299, 84%, 12%)

#370538 Color Syntax

rgb()

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

 main {
    background-color: rgb(55, 05, 56);
   }

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(299, 84%, 12%);
  }

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

RGB Code Hex Code Preview
rgb(55, 05, 56, 10%) #3705381a  
rgb(55, 05, 56, 20%) #37053833  
rgb(55, 05, 56, 40%) #3705384C  
rgb(55, 05, 56, 60%) #37053899  
rgb(55, 05, 56, 80%) #370538CC  
rgb(55, 05, 56, 100%) #370538FF  

Saturated and desaturated colors of #370538

HSL Code Preview
hsl(299, 10%, 12%)  
hsl(299, 20%, 12%)  
hsl(299, 40%, 12%)  
hsl(299, 60%, 12%)  
hsl(299, 80%, 12%)  
hsl(299, 100%, 12%)  

#370538 Color Usage In CSS

 body {
    color: #370538;
    }
 p {
    color: rgb(55, 05, 56);
    }
 header {
    border-bottom:1px solid #370538;
    }
Recent Random Colors