Random Color Generator

#284b90 Color

Color Codes
Hex Code #284b90
RGB Code rgb(40, 75, 144)
HSL Code hsl(220, 57%, 36%)

#284b90 Color Syntax

rgb()

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

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

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(220, 57%, 36%);
  }

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 #284b90

RGB Code Hex Code Preview
rgb(40, 75, 144, 10%) #284b901a  
rgb(40, 75, 144, 20%) #284b9033  
rgb(40, 75, 144, 40%) #284b904C  
rgb(40, 75, 144, 60%) #284b9099  
rgb(40, 75, 144, 80%) #284b90CC  
rgb(40, 75, 144, 100%) #284b90FF  

Saturated and desaturated colors of #284b90

HSL Code Preview
hsl(220, 10%, 36%)  
hsl(220, 20%, 36%)  
hsl(220, 40%, 36%)  
hsl(220, 60%, 36%)  
hsl(220, 80%, 36%)  
hsl(220, 100%, 36%)  

#284b90 Color Usage In CSS

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