Random Color Generator

#5667af Color

Color Codes
Hex Code #5667af
RGB Code rgb(86, 103, 175)
HSL Code hsl(229, 36%, 51%)

#5667af Color Syntax

rgb()

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

 main {
    background-color: rgb(86, 103, 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(229, 36%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(86, 103, 175, 10%) #5667af1a  
rgb(86, 103, 175, 20%) #5667af33  
rgb(86, 103, 175, 40%) #5667af4C  
rgb(86, 103, 175, 60%) #5667af99  
rgb(86, 103, 175, 80%) #5667afCC  
rgb(86, 103, 175, 100%) #5667afFF  

Saturated and desaturated colors of #5667af

HSL Code Preview
hsl(229, 10%, 51%)  
hsl(229, 20%, 51%)  
hsl(229, 40%, 51%)  
hsl(229, 60%, 51%)  
hsl(229, 80%, 51%)  
hsl(229, 100%, 51%)  

#5667af Color Usage In CSS

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