Random Color Generator

#226ea3 Color

Color Codes
Hex Code #226ea3
RGB Code rgb(34, 110, 163)
HSL Code hsl(205, 65%, 39%)

#226ea3 Color Syntax

rgb()

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

 main {
    background-color: rgb(34, 110, 163);
   }

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(205, 65%, 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 #226ea3

RGB Code Hex Code Preview
rgb(34, 110, 163, 10%) #226ea31a  
rgb(34, 110, 163, 20%) #226ea333  
rgb(34, 110, 163, 40%) #226ea34C  
rgb(34, 110, 163, 60%) #226ea399  
rgb(34, 110, 163, 80%) #226ea3CC  
rgb(34, 110, 163, 100%) #226ea3FF  

Saturated and desaturated colors of #226ea3

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

#226ea3 Color Usage In CSS

 body {
    color: #226ea3;
    }
 p {
    color: rgb(34, 110, 163);
    }
 header {
    border-bottom:1px solid #226ea3;
    }
Recent Random Colors