Random Color Generator

#280501 Color

Color Codes
Hex Code #280501
RGB Code rgb(40, 05, 01)
HSL Code hsl(6, 95%, 8%)

#280501 Color Syntax

rgb()

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

 main {
    background-color: rgb(40, 05, 01);
   }

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(6, 95%, 8%);
  }

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 #280501

RGB Code Hex Code Preview
rgb(40, 05, 01, 10%) #2805011a  
rgb(40, 05, 01, 20%) #28050133  
rgb(40, 05, 01, 40%) #2805014C  
rgb(40, 05, 01, 60%) #28050199  
rgb(40, 05, 01, 80%) #280501CC  
rgb(40, 05, 01, 100%) #280501FF  

Saturated and desaturated colors of #280501

HSL Code Preview
hsl(6, 10%, 8%)  
hsl(6, 20%, 8%)  
hsl(6, 40%, 8%)  
hsl(6, 60%, 8%)  
hsl(6, 80%, 8%)  
hsl(6, 100%, 8%)  

#280501 Color Usage In CSS

 body {
    color: #280501;
    }
 p {
    color: rgb(40, 05, 01);
    }
 header {
    border-bottom:1px solid #280501;
    }
Recent Random Colors