Random Color Generator

#9060ab Color

Color Codes
Hex Code #9060ab
RGB Code rgb(144, 96, 171)
HSL Code hsl(278, 31%, 52%)

#9060ab Color Syntax

rgb()

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

 main {
    background-color: rgb(144, 96, 171);
   }

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, 31%, 52%);
  }

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 #9060ab

RGB Code Hex Code Preview
rgb(144, 96, 171, 10%) #9060ab1a  
rgb(144, 96, 171, 20%) #9060ab33  
rgb(144, 96, 171, 40%) #9060ab4C  
rgb(144, 96, 171, 60%) #9060ab99  
rgb(144, 96, 171, 80%) #9060abCC  
rgb(144, 96, 171, 100%) #9060abFF  

Saturated and desaturated colors of #9060ab

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

#9060ab Color Usage In CSS

 body {
    color: #9060ab;
    }
 p {
    color: rgb(144, 96, 171);
    }
 header {
    border-bottom:1px solid #9060ab;
    }
Recent Random Colors