Random Color Generator

#605f91 Color

Color Codes
Hex Code #605f91
RGB Code rgb(96, 95, 145)
HSL Code hsl(241, 21%, 47%)

#605f91 Color Syntax

rgb()

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

 main {
    background-color: rgb(96, 95, 145);
   }

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(241, 21%, 47%);
  }

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 #605f91

RGB Code Hex Code Preview
rgb(96, 95, 145, 10%) #605f911a  
rgb(96, 95, 145, 20%) #605f9133  
rgb(96, 95, 145, 40%) #605f914C  
rgb(96, 95, 145, 60%) #605f9199  
rgb(96, 95, 145, 80%) #605f91CC  
rgb(96, 95, 145, 100%) #605f91FF  

Saturated and desaturated colors of #605f91

HSL Code Preview
hsl(241, 10%, 47%)  
hsl(241, 20%, 47%)  
hsl(241, 40%, 47%)  
hsl(241, 60%, 47%)  
hsl(241, 80%, 47%)  
hsl(241, 100%, 47%)  

#605f91 Color Usage In CSS

 body {
    color: #605f91;
    }
 p {
    color: rgb(96, 95, 145);
    }
 header {
    border-bottom:1px solid #605f91;
    }
Recent Random Colors