Random Color Generator

#224be1 Color

Color Codes
Hex Code #224be1
RGB Code rgb(34, 75, 225)
HSL Code hsl(227, 76%, 51%)

#224be1 Color Syntax

rgb()

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

 main {
    background-color: rgb(34, 75, 225);
   }

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(227, 76%, 51%);
  }

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 #224be1

RGB Code Hex Code Preview
rgb(34, 75, 225, 10%) #224be11a  
rgb(34, 75, 225, 20%) #224be133  
rgb(34, 75, 225, 40%) #224be14C  
rgb(34, 75, 225, 60%) #224be199  
rgb(34, 75, 225, 80%) #224be1CC  
rgb(34, 75, 225, 100%) #224be1FF  

Saturated and desaturated colors of #224be1

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

#224be1 Color Usage In CSS

 body {
    color: #224be1;
    }
 p {
    color: rgb(34, 75, 225);
    }
 header {
    border-bottom:1px solid #224be1;
    }
Recent Random Colors