Random Color Generator

#530ab2 Color

Color Codes
Hex Code #530ab2
RGB Code rgb(83, 10, 178)
HSL Code hsl(266, 89%, 37%)

#530ab2 Color Syntax

rgb()

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

 main {
    background-color: rgb(83, 10, 178);
   }

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(266, 89%, 37%);
  }

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

RGB Code Hex Code Preview
rgb(83, 10, 178, 10%) #530ab21a  
rgb(83, 10, 178, 20%) #530ab233  
rgb(83, 10, 178, 40%) #530ab24C  
rgb(83, 10, 178, 60%) #530ab299  
rgb(83, 10, 178, 80%) #530ab2CC  
rgb(83, 10, 178, 100%) #530ab2FF  

Saturated and desaturated colors of #530ab2

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

#530ab2 Color Usage In CSS

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