Random Color Generator

#285cb0 Color

Color Codes
Hex Code #285cb0
RGB Code rgb(40, 92, 176)
HSL Code hsl(217, 63%, 42%)

#285cb0 Color Syntax

rgb()

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

 main {
    background-color: rgb(40, 92, 176);
   }

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(217, 63%, 42%);
  }

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 #285cb0

RGB Code Hex Code Preview
rgb(40, 92, 176, 10%) #285cb01a  
rgb(40, 92, 176, 20%) #285cb033  
rgb(40, 92, 176, 40%) #285cb04C  
rgb(40, 92, 176, 60%) #285cb099  
rgb(40, 92, 176, 80%) #285cb0CC  
rgb(40, 92, 176, 100%) #285cb0FF  

Saturated and desaturated colors of #285cb0

HSL Code Preview
hsl(217, 10%, 42%)  
hsl(217, 20%, 42%)  
hsl(217, 40%, 42%)  
hsl(217, 60%, 42%)  
hsl(217, 80%, 42%)  
hsl(217, 100%, 42%)  

#285cb0 Color Usage In CSS

 body {
    color: #285cb0;
    }
 p {
    color: rgb(40, 92, 176);
    }
 header {
    border-bottom:1px solid #285cb0;
    }
Recent Random Colors