Random Color Generator

#672052 Color

Color Codes
Hex Code #672052
RGB Code rgb(103, 32, 82)
HSL Code hsl(318, 53%, 26%)

#672052 Color Syntax

rgb()

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

 main {
    background-color: rgb(103, 32, 82);
   }

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(318, 53%, 26%);
  }

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

RGB Code Hex Code Preview
rgb(103, 32, 82, 10%) #6720521a  
rgb(103, 32, 82, 20%) #67205233  
rgb(103, 32, 82, 40%) #6720524C  
rgb(103, 32, 82, 60%) #67205299  
rgb(103, 32, 82, 80%) #672052CC  
rgb(103, 32, 82, 100%) #672052FF  

Saturated and desaturated colors of #672052

HSL Code Preview
hsl(318, 10%, 26%)  
hsl(318, 20%, 26%)  
hsl(318, 40%, 26%)  
hsl(318, 60%, 26%)  
hsl(318, 80%, 26%)  
hsl(318, 100%, 26%)  

#672052 Color Usage In CSS

 body {
    color: #672052;
    }
 p {
    color: rgb(103, 32, 82);
    }
 header {
    border-bottom:1px solid #672052;
    }
Recent Random Colors