Random Color Generator

#530b5a Color

Color Codes
Hex Code #530b5a
RGB Code rgb(83, 11, 90)
HSL Code hsl(295, 78%, 20%)

#530b5a Color Syntax

rgb()

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

 main {
    background-color: rgb(83, 11, 90);
   }

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(295, 78%, 20%);
  }

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 #530b5a

RGB Code Hex Code Preview
rgb(83, 11, 90, 10%) #530b5a1a  
rgb(83, 11, 90, 20%) #530b5a33  
rgb(83, 11, 90, 40%) #530b5a4C  
rgb(83, 11, 90, 60%) #530b5a99  
rgb(83, 11, 90, 80%) #530b5aCC  
rgb(83, 11, 90, 100%) #530b5aFF  

Saturated and desaturated colors of #530b5a

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

#530b5a Color Usage In CSS

 body {
    color: #530b5a;
    }
 p {
    color: rgb(83, 11, 90);
    }
 header {
    border-bottom:1px solid #530b5a;
    }
Recent Random Colors