Random Color Generator

#918bbd Color

Color Codes
Hex Code #918bbd
RGB Code rgb(145, 139, 189)
HSL Code hsl(247, 27%, 64%)

#918bbd Color Syntax

rgb()

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

 main {
    background-color: rgb(145, 139, 189);
   }

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(247, 27%, 64%);
  }

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 #918bbd

RGB Code Hex Code Preview
rgb(145, 139, 189, 10%) #918bbd1a  
rgb(145, 139, 189, 20%) #918bbd33  
rgb(145, 139, 189, 40%) #918bbd4C  
rgb(145, 139, 189, 60%) #918bbd99  
rgb(145, 139, 189, 80%) #918bbdCC  
rgb(145, 139, 189, 100%) #918bbdFF  

Saturated and desaturated colors of #918bbd

HSL Code Preview
hsl(247, 10%, 64%)  
hsl(247, 20%, 64%)  
hsl(247, 40%, 64%)  
hsl(247, 60%, 64%)  
hsl(247, 80%, 64%)  
hsl(247, 100%, 64%)  

#918bbd Color Usage In CSS

 body {
    color: #918bbd;
    }
 p {
    color: rgb(145, 139, 189);
    }
 header {
    border-bottom:1px solid #918bbd;
    }
Recent Random Colors