Random Color Generator

#3386f9 Color

Color Codes
Hex Code #3386f9
RGB Code rgb(51, 134, 249)
HSL Code hsl(215, 94%, 59%)

#3386f9 Color Syntax

rgb()

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

 main {
    background-color: rgb(51, 134, 249);
   }

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(215, 94%, 59%);
  }

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 #3386f9

RGB Code Hex Code Preview
rgb(51, 134, 249, 10%) #3386f91a  
rgb(51, 134, 249, 20%) #3386f933  
rgb(51, 134, 249, 40%) #3386f94C  
rgb(51, 134, 249, 60%) #3386f999  
rgb(51, 134, 249, 80%) #3386f9CC  
rgb(51, 134, 249, 100%) #3386f9FF  

Saturated and desaturated colors of #3386f9

HSL Code Preview
hsl(215, 10%, 59%)  
hsl(215, 20%, 59%)  
hsl(215, 40%, 59%)  
hsl(215, 60%, 59%)  
hsl(215, 80%, 59%)  
hsl(215, 100%, 59%)  

#3386f9 Color Usage In CSS

 body {
    color: #3386f9;
    }
 p {
    color: rgb(51, 134, 249);
    }
 header {
    border-bottom:1px solid #3386f9;
    }
Recent Random Colors