Random Color Generator

#2267ab Color

Color Codes
Hex Code #2267ab
RGB Code rgb(34, 103, 171)
HSL Code hsl(210, 67%, 40%)

#2267ab Color Syntax

rgb()

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

 main {
    background-color: rgb(34, 103, 171);
   }

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(210, 67%, 40%);
  }

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 #2267ab

RGB Code Hex Code Preview
rgb(34, 103, 171, 10%) #2267ab1a  
rgb(34, 103, 171, 20%) #2267ab33  
rgb(34, 103, 171, 40%) #2267ab4C  
rgb(34, 103, 171, 60%) #2267ab99  
rgb(34, 103, 171, 80%) #2267abCC  
rgb(34, 103, 171, 100%) #2267abFF  

Saturated and desaturated colors of #2267ab

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

#2267ab Color Usage In CSS

 body {
    color: #2267ab;
    }
 p {
    color: rgb(34, 103, 171);
    }
 header {
    border-bottom:1px solid #2267ab;
    }
Recent Random Colors