Random Color Generator

#706296 Color

Color Codes
Hex Code #706296
RGB Code rgb(112, 98, 150)
HSL Code hsl(256, 21%, 49%)

#706296 Color Syntax

rgb()

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

 main {
    background-color: rgb(112, 98, 150);
   }

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(256, 21%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(112, 98, 150, 10%) #7062961a  
rgb(112, 98, 150, 20%) #70629633  
rgb(112, 98, 150, 40%) #7062964C  
rgb(112, 98, 150, 60%) #70629699  
rgb(112, 98, 150, 80%) #706296CC  
rgb(112, 98, 150, 100%) #706296FF  

Saturated and desaturated colors of #706296

HSL Code Preview
hsl(256, 10%, 49%)  
hsl(256, 20%, 49%)  
hsl(256, 40%, 49%)  
hsl(256, 60%, 49%)  
hsl(256, 80%, 49%)  
hsl(256, 100%, 49%)  

#706296 Color Usage In CSS

 body {
    color: #706296;
    }
 p {
    color: rgb(112, 98, 150);
    }
 header {
    border-bottom:1px solid #706296;
    }
Recent Random Colors