Random Color Generator

#223f7e Color

Color Codes
Hex Code #223f7e
RGB Code rgb(34, 63, 126)
HSL Code hsl(221, 58%, 31%)

#223f7e Color Syntax

rgb()

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

 main {
    background-color: rgb(34, 63, 126);
   }

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(221, 58%, 31%);
  }

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 #223f7e

RGB Code Hex Code Preview
rgb(34, 63, 126, 10%) #223f7e1a  
rgb(34, 63, 126, 20%) #223f7e33  
rgb(34, 63, 126, 40%) #223f7e4C  
rgb(34, 63, 126, 60%) #223f7e99  
rgb(34, 63, 126, 80%) #223f7eCC  
rgb(34, 63, 126, 100%) #223f7eFF  

Saturated and desaturated colors of #223f7e

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

#223f7e Color Usage In CSS

 body {
    color: #223f7e;
    }
 p {
    color: rgb(34, 63, 126);
    }
 header {
    border-bottom:1px solid #223f7e;
    }
Recent Random Colors