Random Color Generator

#530481 Color

Color Codes
Hex Code #530481
RGB Code rgb(83, 04, 129)
HSL Code hsl(278, 94%, 26%)

#530481 Color Syntax

rgb()

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

 main {
    background-color: rgb(83, 04, 129);
   }

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(278, 94%, 26%);
  }

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

RGB Code Hex Code Preview
rgb(83, 04, 129, 10%) #5304811a  
rgb(83, 04, 129, 20%) #53048133  
rgb(83, 04, 129, 40%) #5304814C  
rgb(83, 04, 129, 60%) #53048199  
rgb(83, 04, 129, 80%) #530481CC  
rgb(83, 04, 129, 100%) #530481FF  

Saturated and desaturated colors of #530481

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

#530481 Color Usage In CSS

 body {
    color: #530481;
    }
 p {
    color: rgb(83, 04, 129);
    }
 header {
    border-bottom:1px solid #530481;
    }
Recent Random Colors