Random Color Generator

#8fa5de Color

Color Codes
Hex Code #8fa5de
RGB Code rgb(143, 165, 222)
HSL Code hsl(223, 54%, 72%)

#8fa5de Color Syntax

rgb()

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

 main {
    background-color: rgb(143, 165, 222);
   }

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(223, 54%, 72%);
  }

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 #8fa5de

RGB Code Hex Code Preview
rgb(143, 165, 222, 10%) #8fa5de1a  
rgb(143, 165, 222, 20%) #8fa5de33  
rgb(143, 165, 222, 40%) #8fa5de4C  
rgb(143, 165, 222, 60%) #8fa5de99  
rgb(143, 165, 222, 80%) #8fa5deCC  
rgb(143, 165, 222, 100%) #8fa5deFF  

Saturated and desaturated colors of #8fa5de

HSL Code Preview
hsl(223, 10%, 72%)  
hsl(223, 20%, 72%)  
hsl(223, 40%, 72%)  
hsl(223, 60%, 72%)  
hsl(223, 80%, 72%)  
hsl(223, 100%, 72%)  

#8fa5de Color Usage In CSS

 body {
    color: #8fa5de;
    }
 p {
    color: rgb(143, 165, 222);
    }
 header {
    border-bottom:1px solid #8fa5de;
    }
Recent Random Colors