Random Color Generator

#158eee Color

Color Codes
Hex Code #158eee
RGB Code rgb(21, 142, 238)
HSL Code hsl(207, 86%, 51%)

#158eee Color Syntax

rgb()

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

 main {
    background-color: rgb(21, 142, 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(207, 86%, 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 #158eee

RGB Code Hex Code Preview
rgb(21, 142, 238, 10%) #158eee1a  
rgb(21, 142, 238, 20%) #158eee33  
rgb(21, 142, 238, 40%) #158eee4C  
rgb(21, 142, 238, 60%) #158eee99  
rgb(21, 142, 238, 80%) #158eeeCC  
rgb(21, 142, 238, 100%) #158eeeFF  

Saturated and desaturated colors of #158eee

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

#158eee Color Usage In CSS

 body {
    color: #158eee;
    }
 p {
    color: rgb(21, 142, 238);
    }
 header {
    border-bottom:1px solid #158eee;
    }
Recent Random Colors