Random Color Generator

#7ebafd Color

Color Codes
Hex Code #7ebafd
RGB Code rgb(126, 186, 253)
HSL Code hsl(212, 97%, 74%)

#7ebafd Color Syntax

rgb()

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

 main {
    background-color: rgb(126, 186, 253);
   }

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(212, 97%, 74%);
  }

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 #7ebafd

RGB Code Hex Code Preview
rgb(126, 186, 253, 10%) #7ebafd1a  
rgb(126, 186, 253, 20%) #7ebafd33  
rgb(126, 186, 253, 40%) #7ebafd4C  
rgb(126, 186, 253, 60%) #7ebafd99  
rgb(126, 186, 253, 80%) #7ebafdCC  
rgb(126, 186, 253, 100%) #7ebafdFF  

Saturated and desaturated colors of #7ebafd

HSL Code Preview
hsl(212, 10%, 74%)  
hsl(212, 20%, 74%)  
hsl(212, 40%, 74%)  
hsl(212, 60%, 74%)  
hsl(212, 80%, 74%)  
hsl(212, 100%, 74%)  

#7ebafd Color Usage In CSS

 body {
    color: #7ebafd;
    }
 p {
    color: rgb(126, 186, 253);
    }
 header {
    border-bottom:1px solid #7ebafd;
    }
Recent Random Colors