Random Color Generator

#601168 Color

Color Codes
Hex Code #601168
RGB Code rgb(96, 17, 104)
HSL Code hsl(294, 72%, 24%)

#601168 Color Syntax

rgb()

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

 main {
    background-color: rgb(96, 17, 104);
   }

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(294, 72%, 24%);
  }

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

RGB Code Hex Code Preview
rgb(96, 17, 104, 10%) #6011681a  
rgb(96, 17, 104, 20%) #60116833  
rgb(96, 17, 104, 40%) #6011684C  
rgb(96, 17, 104, 60%) #60116899  
rgb(96, 17, 104, 80%) #601168CC  
rgb(96, 17, 104, 100%) #601168FF  

Saturated and desaturated colors of #601168

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

#601168 Color Usage In CSS

 body {
    color: #601168;
    }
 p {
    color: rgb(96, 17, 104);
    }
 header {
    border-bottom:1px solid #601168;
    }
Recent Random Colors