Random Color Generator

#550245 Color

Color Codes
Hex Code #550245
RGB Code rgb(85, 02, 69)
HSL Code hsl(312, 95%, 17%)

#550245 Color Syntax

rgb()

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

 main {
    background-color: rgb(85, 02, 69);
   }

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(312, 95%, 17%);
  }

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

RGB Code Hex Code Preview
rgb(85, 02, 69, 10%) #5502451a  
rgb(85, 02, 69, 20%) #55024533  
rgb(85, 02, 69, 40%) #5502454C  
rgb(85, 02, 69, 60%) #55024599  
rgb(85, 02, 69, 80%) #550245CC  
rgb(85, 02, 69, 100%) #550245FF  

Saturated and desaturated colors of #550245

HSL Code Preview
hsl(312, 10%, 17%)  
hsl(312, 20%, 17%)  
hsl(312, 40%, 17%)  
hsl(312, 60%, 17%)  
hsl(312, 80%, 17%)  
hsl(312, 100%, 17%)  

#550245 Color Usage In CSS

 body {
    color: #550245;
    }
 p {
    color: rgb(85, 02, 69);
    }
 header {
    border-bottom:1px solid #550245;
    }
Recent Random Colors