Random Color Generator

#2656a0 Color

Color Codes
Hex Code #2656a0
RGB Code rgb(38, 86, 160)
HSL Code hsl(216, 62%, 39%)

#2656a0 Color Syntax

rgb()

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

 main {
    background-color: rgb(38, 86, 160);
   }

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(216, 62%, 39%);
  }

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 #2656a0

RGB Code Hex Code Preview
rgb(38, 86, 160, 10%) #2656a01a  
rgb(38, 86, 160, 20%) #2656a033  
rgb(38, 86, 160, 40%) #2656a04C  
rgb(38, 86, 160, 60%) #2656a099  
rgb(38, 86, 160, 80%) #2656a0CC  
rgb(38, 86, 160, 100%) #2656a0FF  

Saturated and desaturated colors of #2656a0

HSL Code Preview
hsl(216, 10%, 39%)  
hsl(216, 20%, 39%)  
hsl(216, 40%, 39%)  
hsl(216, 60%, 39%)  
hsl(216, 80%, 39%)  
hsl(216, 100%, 39%)  

#2656a0 Color Usage In CSS

 body {
    color: #2656a0;
    }
 p {
    color: rgb(38, 86, 160);
    }
 header {
    border-bottom:1px solid #2656a0;
    }
Recent Random Colors