Random Color Generator

#602f88 Color

Color Codes
Hex Code #602f88
RGB Code rgb(96, 47, 136)
HSL Code hsl(273, 49%, 36%)

#602f88 Color Syntax

rgb()

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

 main {
    background-color: rgb(96, 47, 136);
   }

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(273, 49%, 36%);
  }

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 #602f88

RGB Code Hex Code Preview
rgb(96, 47, 136, 10%) #602f881a  
rgb(96, 47, 136, 20%) #602f8833  
rgb(96, 47, 136, 40%) #602f884C  
rgb(96, 47, 136, 60%) #602f8899  
rgb(96, 47, 136, 80%) #602f88CC  
rgb(96, 47, 136, 100%) #602f88FF  

Saturated and desaturated colors of #602f88

HSL Code Preview
hsl(273, 10%, 36%)  
hsl(273, 20%, 36%)  
hsl(273, 40%, 36%)  
hsl(273, 60%, 36%)  
hsl(273, 80%, 36%)  
hsl(273, 100%, 36%)  

#602f88 Color Usage In CSS

 body {
    color: #602f88;
    }
 p {
    color: rgb(96, 47, 136);
    }
 header {
    border-bottom:1px solid #602f88;
    }
Recent Random Colors