Random Color Generator

#7986af Color

Color Codes
Hex Code #7986af
RGB Code rgb(121, 134, 175)
HSL Code hsl(226, 25%, 58%)

#7986af Color Syntax

rgb()

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

 main {
    background-color: rgb(121, 134, 175);
   }

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(226, 25%, 58%);
  }

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 #7986af

RGB Code Hex Code Preview
rgb(121, 134, 175, 10%) #7986af1a  
rgb(121, 134, 175, 20%) #7986af33  
rgb(121, 134, 175, 40%) #7986af4C  
rgb(121, 134, 175, 60%) #7986af99  
rgb(121, 134, 175, 80%) #7986afCC  
rgb(121, 134, 175, 100%) #7986afFF  

Saturated and desaturated colors of #7986af

HSL Code Preview
hsl(226, 10%, 58%)  
hsl(226, 20%, 58%)  
hsl(226, 40%, 58%)  
hsl(226, 60%, 58%)  
hsl(226, 80%, 58%)  
hsl(226, 100%, 58%)  

#7986af Color Usage In CSS

 body {
    color: #7986af;
    }
 p {
    color: rgb(121, 134, 175);
    }
 header {
    border-bottom:1px solid #7986af;
    }
Recent Random Colors