Random Color Generator

#28c5f1 Color

Color Codes
Hex Code #28c5f1
RGB Code rgb(40, 197, 241)
HSL Code hsl(193, 88%, 55%)

#28c5f1 Color Syntax

rgb()

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

 main {
    background-color: rgb(40, 197, 241);
   }

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(193, 88%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(40, 197, 241, 10%) #28c5f11a  
rgb(40, 197, 241, 20%) #28c5f133  
rgb(40, 197, 241, 40%) #28c5f14C  
rgb(40, 197, 241, 60%) #28c5f199  
rgb(40, 197, 241, 80%) #28c5f1CC  
rgb(40, 197, 241, 100%) #28c5f1FF  

Saturated and desaturated colors of #28c5f1

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

#28c5f1 Color Usage In CSS

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