Random Color Generator

#128ecc Color

Color Codes
Hex Code #128ecc
RGB Code rgb(18, 142, 204)
HSL Code hsl(200, 84%, 44%)

#128ecc Color Syntax

rgb()

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

 main {
    background-color: rgb(18, 142, 204);
   }

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(200, 84%, 44%);
  }

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 #128ecc

RGB Code Hex Code Preview
rgb(18, 142, 204, 10%) #128ecc1a  
rgb(18, 142, 204, 20%) #128ecc33  
rgb(18, 142, 204, 40%) #128ecc4C  
rgb(18, 142, 204, 60%) #128ecc99  
rgb(18, 142, 204, 80%) #128eccCC  
rgb(18, 142, 204, 100%) #128eccFF  

Saturated and desaturated colors of #128ecc

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

#128ecc Color Usage In CSS

 body {
    color: #128ecc;
    }
 p {
    color: rgb(18, 142, 204);
    }
 header {
    border-bottom:1px solid #128ecc;
    }
Recent Random Colors