Random Color Generator

#28acc0 Color

Color Codes
Hex Code #28acc0
RGB Code rgb(40, 172, 192)
HSL Code hsl(188, 66%, 45%)

#28acc0 Color Syntax

rgb()

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

 main {
    background-color: rgb(40, 172, 192);
   }

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(188, 66%, 45%);
  }

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 #28acc0

RGB Code Hex Code Preview
rgb(40, 172, 192, 10%) #28acc01a  
rgb(40, 172, 192, 20%) #28acc033  
rgb(40, 172, 192, 40%) #28acc04C  
rgb(40, 172, 192, 60%) #28acc099  
rgb(40, 172, 192, 80%) #28acc0CC  
rgb(40, 172, 192, 100%) #28acc0FF  

Saturated and desaturated colors of #28acc0

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

#28acc0 Color Usage In CSS

 body {
    color: #28acc0;
    }
 p {
    color: rgb(40, 172, 192);
    }
 header {
    border-bottom:1px solid #28acc0;
    }
Recent Random Colors