Random Color Generator

#4a9bea Color

Color Codes
Hex Code #4a9bea
RGB Code rgb(74, 155, 234)
HSL Code hsl(210, 79%, 60%)

#4a9bea Color Syntax

rgb()

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

 main {
    background-color: rgb(74, 155, 234);
   }

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, 79%, 60%);
  }

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 #4a9bea

RGB Code Hex Code Preview
rgb(74, 155, 234, 10%) #4a9bea1a  
rgb(74, 155, 234, 20%) #4a9bea33  
rgb(74, 155, 234, 40%) #4a9bea4C  
rgb(74, 155, 234, 60%) #4a9bea99  
rgb(74, 155, 234, 80%) #4a9beaCC  
rgb(74, 155, 234, 100%) #4a9beaFF  

Saturated and desaturated colors of #4a9bea

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

#4a9bea Color Usage In CSS

 body {
    color: #4a9bea;
    }
 p {
    color: rgb(74, 155, 234);
    }
 header {
    border-bottom:1px solid #4a9bea;
    }
Recent Random Colors