Random Color Generator

#2db6fe Color

Color Codes
Hex Code #2db6fe
RGB Code rgb(45, 182, 254)
HSL Code hsl(201, 99%, 59%)

#2db6fe Color Syntax

rgb()

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

 main {
    background-color: rgb(45, 182, 254);
   }

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(201, 99%, 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 #2db6fe

RGB Code Hex Code Preview
rgb(45, 182, 254, 10%) #2db6fe1a  
rgb(45, 182, 254, 20%) #2db6fe33  
rgb(45, 182, 254, 40%) #2db6fe4C  
rgb(45, 182, 254, 60%) #2db6fe99  
rgb(45, 182, 254, 80%) #2db6feCC  
rgb(45, 182, 254, 100%) #2db6feFF  

Saturated and desaturated colors of #2db6fe

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

#2db6fe Color Usage In CSS

 body {
    color: #2db6fe;
    }
 p {
    color: rgb(45, 182, 254);
    }
 header {
    border-bottom:1px solid #2db6fe;
    }
Recent Random Colors