Random Color Generator

#28849a Color

Color Codes
Hex Code #28849a
RGB Code rgb(40, 132, 154)
HSL Code hsl(192, 59%, 38%)

#28849a Color Syntax

rgb()

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

 main {
    background-color: rgb(40, 132, 154);
   }

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(192, 59%, 38%);
  }

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 #28849a

RGB Code Hex Code Preview
rgb(40, 132, 154, 10%) #28849a1a  
rgb(40, 132, 154, 20%) #28849a33  
rgb(40, 132, 154, 40%) #28849a4C  
rgb(40, 132, 154, 60%) #28849a99  
rgb(40, 132, 154, 80%) #28849aCC  
rgb(40, 132, 154, 100%) #28849aFF  

Saturated and desaturated colors of #28849a

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

#28849a Color Usage In CSS

 body {
    color: #28849a;
    }
 p {
    color: rgb(40, 132, 154);
    }
 header {
    border-bottom:1px solid #28849a;
    }
Recent Random Colors