Random Color Generator

#78849f Color

Color Codes
Hex Code #78849f
RGB Code rgb(120, 132, 159)
HSL Code hsl(222, 17%, 55%)

#78849f Color Syntax

rgb()

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

 main {
    background-color: rgb(120, 132, 159);
   }

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(222, 17%, 55%);
  }

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 #78849f

RGB Code Hex Code Preview
rgb(120, 132, 159, 10%) #78849f1a  
rgb(120, 132, 159, 20%) #78849f33  
rgb(120, 132, 159, 40%) #78849f4C  
rgb(120, 132, 159, 60%) #78849f99  
rgb(120, 132, 159, 80%) #78849fCC  
rgb(120, 132, 159, 100%) #78849fFF  

Saturated and desaturated colors of #78849f

HSL Code Preview
hsl(222, 10%, 55%)  
hsl(222, 20%, 55%)  
hsl(222, 40%, 55%)  
hsl(222, 60%, 55%)  
hsl(222, 80%, 55%)  
hsl(222, 100%, 55%)  

#78849f Color Usage In CSS

 body {
    color: #78849f;
    }
 p {
    color: rgb(120, 132, 159);
    }
 header {
    border-bottom:1px solid #78849f;
    }
Recent Random Colors