Random Color Generator

#5287af Color

Color Codes
Hex Code #5287af
RGB Code rgb(82, 135, 175)
HSL Code hsl(206, 37%, 50%)

#5287af Color Syntax

rgb()

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

 main {
    background-color: rgb(82, 135, 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(206, 37%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(82, 135, 175, 10%) #5287af1a  
rgb(82, 135, 175, 20%) #5287af33  
rgb(82, 135, 175, 40%) #5287af4C  
rgb(82, 135, 175, 60%) #5287af99  
rgb(82, 135, 175, 80%) #5287afCC  
rgb(82, 135, 175, 100%) #5287afFF  

Saturated and desaturated colors of #5287af

HSL Code Preview
hsl(206, 10%, 50%)  
hsl(206, 20%, 50%)  
hsl(206, 40%, 50%)  
hsl(206, 60%, 50%)  
hsl(206, 80%, 50%)  
hsl(206, 100%, 50%)  

#5287af Color Usage In CSS

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