Random Color Generator

#2b66cb Color

Color Codes
Hex Code #2b66cb
RGB Code rgb(43, 102, 203)
HSL Code hsl(218, 65%, 48%)

#2b66cb Color Syntax

rgb()

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

 main {
    background-color: rgb(43, 102, 203);
   }

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(218, 65%, 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 #2b66cb

RGB Code Hex Code Preview
rgb(43, 102, 203, 10%) #2b66cb1a  
rgb(43, 102, 203, 20%) #2b66cb33  
rgb(43, 102, 203, 40%) #2b66cb4C  
rgb(43, 102, 203, 60%) #2b66cb99  
rgb(43, 102, 203, 80%) #2b66cbCC  
rgb(43, 102, 203, 100%) #2b66cbFF  

Saturated and desaturated colors of #2b66cb

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

#2b66cb Color Usage In CSS

 body {
    color: #2b66cb;
    }
 p {
    color: rgb(43, 102, 203);
    }
 header {
    border-bottom:1px solid #2b66cb;
    }
Recent Random Colors