Random Color Generator

#2890cd Color

Color Codes
Hex Code #2890cd
RGB Code rgb(40, 144, 205)
HSL Code hsl(202, 67%, 48%)

#2890cd Color Syntax

rgb()

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

 main {
    background-color: rgb(40, 144, 205);
   }

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(202, 67%, 48%);
  }

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 #2890cd

RGB Code Hex Code Preview
rgb(40, 144, 205, 10%) #2890cd1a  
rgb(40, 144, 205, 20%) #2890cd33  
rgb(40, 144, 205, 40%) #2890cd4C  
rgb(40, 144, 205, 60%) #2890cd99  
rgb(40, 144, 205, 80%) #2890cdCC  
rgb(40, 144, 205, 100%) #2890cdFF  

Saturated and desaturated colors of #2890cd

HSL Code Preview
hsl(202, 10%, 48%)  
hsl(202, 20%, 48%)  
hsl(202, 40%, 48%)  
hsl(202, 60%, 48%)  
hsl(202, 80%, 48%)  
hsl(202, 100%, 48%)  

#2890cd Color Usage In CSS

 body {
    color: #2890cd;
    }
 p {
    color: rgb(40, 144, 205);
    }
 header {
    border-bottom:1px solid #2890cd;
    }
Recent Random Colors