Random Color Generator

#31c0df Color

Color Codes
Hex Code #31c0df
RGB Code rgb(49, 192, 223)
HSL Code hsl(191, 73%, 53%)

#31c0df Color Syntax

rgb()

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

 main {
    background-color: rgb(49, 192, 223);
   }

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(191, 73%, 53%);
  }

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 #31c0df

RGB Code Hex Code Preview
rgb(49, 192, 223, 10%) #31c0df1a  
rgb(49, 192, 223, 20%) #31c0df33  
rgb(49, 192, 223, 40%) #31c0df4C  
rgb(49, 192, 223, 60%) #31c0df99  
rgb(49, 192, 223, 80%) #31c0dfCC  
rgb(49, 192, 223, 100%) #31c0dfFF  

Saturated and desaturated colors of #31c0df

HSL Code Preview
hsl(191, 10%, 53%)  
hsl(191, 20%, 53%)  
hsl(191, 40%, 53%)  
hsl(191, 60%, 53%)  
hsl(191, 80%, 53%)  
hsl(191, 100%, 53%)  

#31c0df Color Usage In CSS

 body {
    color: #31c0df;
    }
 p {
    color: rgb(49, 192, 223);
    }
 header {
    border-bottom:1px solid #31c0df;
    }
Recent Random Colors