Random Color Generator

#602b68 Color

Color Codes
Hex Code #602b68
RGB Code rgb(96, 43, 104)
HSL Code hsl(292, 41%, 29%)

#602b68 Color Syntax

rgb()

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

 main {
    background-color: rgb(96, 43, 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(292, 41%, 29%);
  }

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

RGB Code Hex Code Preview
rgb(96, 43, 104, 10%) #602b681a  
rgb(96, 43, 104, 20%) #602b6833  
rgb(96, 43, 104, 40%) #602b684C  
rgb(96, 43, 104, 60%) #602b6899  
rgb(96, 43, 104, 80%) #602b68CC  
rgb(96, 43, 104, 100%) #602b68FF  

Saturated and desaturated colors of #602b68

HSL Code Preview
hsl(292, 10%, 29%)  
hsl(292, 20%, 29%)  
hsl(292, 40%, 29%)  
hsl(292, 60%, 29%)  
hsl(292, 80%, 29%)  
hsl(292, 100%, 29%)  

#602b68 Color Usage In CSS

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