Random Color Generator

#28adf6 Color

Color Codes
Hex Code #28adf6
RGB Code rgb(40, 173, 246)
HSL Code hsl(201, 92%, 56%)

#28adf6 Color Syntax

rgb()

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

 main {
    background-color: rgb(40, 173, 246);
   }

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(201, 92%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(40, 173, 246, 10%) #28adf61a  
rgb(40, 173, 246, 20%) #28adf633  
rgb(40, 173, 246, 40%) #28adf64C  
rgb(40, 173, 246, 60%) #28adf699  
rgb(40, 173, 246, 80%) #28adf6CC  
rgb(40, 173, 246, 100%) #28adf6FF  

Saturated and desaturated colors of #28adf6

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

#28adf6 Color Usage In CSS

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