Random Color Generator

#905bcb Color

Color Codes
Hex Code #905bcb
RGB Code rgb(144, 91, 203)
HSL Code hsl(268, 52%, 58%)

#905bcb Color Syntax

rgb()

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

 main {
    background-color: rgb(144, 91, 203);
   }

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(268, 52%, 58%);
  }

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 #905bcb

RGB Code Hex Code Preview
rgb(144, 91, 203, 10%) #905bcb1a  
rgb(144, 91, 203, 20%) #905bcb33  
rgb(144, 91, 203, 40%) #905bcb4C  
rgb(144, 91, 203, 60%) #905bcb99  
rgb(144, 91, 203, 80%) #905bcbCC  
rgb(144, 91, 203, 100%) #905bcbFF  

Saturated and desaturated colors of #905bcb

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

#905bcb Color Usage In CSS

 body {
    color: #905bcb;
    }
 p {
    color: rgb(144, 91, 203);
    }
 header {
    border-bottom:1px solid #905bcb;
    }
Recent Random Colors