Random Color Generator

#562c53 Color

Color Codes
Hex Code #562c53
RGB Code rgb(86, 44, 83)
HSL Code hsl(304, 32%, 25%)

#562c53 Color Syntax

rgb()

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

 main {
    background-color: rgb(86, 44, 83);
   }

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(304, 32%, 25%);
  }

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 #562c53

RGB Code Hex Code Preview
rgb(86, 44, 83, 10%) #562c531a  
rgb(86, 44, 83, 20%) #562c5333  
rgb(86, 44, 83, 40%) #562c534C  
rgb(86, 44, 83, 60%) #562c5399  
rgb(86, 44, 83, 80%) #562c53CC  
rgb(86, 44, 83, 100%) #562c53FF  

Saturated and desaturated colors of #562c53

HSL Code Preview
hsl(304, 10%, 25%)  
hsl(304, 20%, 25%)  
hsl(304, 40%, 25%)  
hsl(304, 60%, 25%)  
hsl(304, 80%, 25%)  
hsl(304, 100%, 25%)  

#562c53 Color Usage In CSS

 body {
    color: #562c53;
    }
 p {
    color: rgb(86, 44, 83);
    }
 header {
    border-bottom:1px solid #562c53;
    }
Recent Random Colors