Random Color Generator

#552880 Color

Color Codes
Hex Code #552880
RGB Code rgb(85, 40, 128)
HSL Code hsl(271, 52%, 33%)

#552880 Color Syntax

rgb()

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

 main {
    background-color: rgb(85, 40, 128);
   }

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(271, 52%, 33%);
  }

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

RGB Code Hex Code Preview
rgb(85, 40, 128, 10%) #5528801a  
rgb(85, 40, 128, 20%) #55288033  
rgb(85, 40, 128, 40%) #5528804C  
rgb(85, 40, 128, 60%) #55288099  
rgb(85, 40, 128, 80%) #552880CC  
rgb(85, 40, 128, 100%) #552880FF  

Saturated and desaturated colors of #552880

HSL Code Preview
hsl(271, 10%, 33%)  
hsl(271, 20%, 33%)  
hsl(271, 40%, 33%)  
hsl(271, 60%, 33%)  
hsl(271, 80%, 33%)  
hsl(271, 100%, 33%)  

#552880 Color Usage In CSS

 body {
    color: #552880;
    }
 p {
    color: rgb(85, 40, 128);
    }
 header {
    border-bottom:1px solid #552880;
    }
Recent Random Colors