Random Color Generator

#5682ee Color

Color Codes
Hex Code #5682ee
RGB Code rgb(86, 130, 238)
HSL Code hsl(223, 82%, 64%)

#5682ee Color Syntax

rgb()

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

 main {
    background-color: rgb(86, 130, 238);
   }

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, 82%, 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 #5682ee

RGB Code Hex Code Preview
rgb(86, 130, 238, 10%) #5682ee1a  
rgb(86, 130, 238, 20%) #5682ee33  
rgb(86, 130, 238, 40%) #5682ee4C  
rgb(86, 130, 238, 60%) #5682ee99  
rgb(86, 130, 238, 80%) #5682eeCC  
rgb(86, 130, 238, 100%) #5682eeFF  

Saturated and desaturated colors of #5682ee

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

#5682ee Color Usage In CSS

 body {
    color: #5682ee;
    }
 p {
    color: rgb(86, 130, 238);
    }
 header {
    border-bottom:1px solid #5682ee;
    }
Recent Random Colors