Random Color Generator

#ea387c Color

Color Codes
Hex Code #ea387c
RGB Code rgb(234, 56, 124)
HSL Code hsl(337, 81%, 57%)

#ea387c Color Syntax

rgb()

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

 main {
    background-color: rgb(234, 56, 124);
   }

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(337, 81%, 57%);
  }

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

RGB Code Hex Code Preview
rgb(234, 56, 124, 10%) #ea387c1a  
rgb(234, 56, 124, 20%) #ea387c33  
rgb(234, 56, 124, 40%) #ea387c4C  
rgb(234, 56, 124, 60%) #ea387c99  
rgb(234, 56, 124, 80%) #ea387cCC  
rgb(234, 56, 124, 100%) #ea387cFF  

Saturated and desaturated colors of #ea387c

HSL Code Preview
hsl(337, 10%, 57%)  
hsl(337, 20%, 57%)  
hsl(337, 40%, 57%)  
hsl(337, 60%, 57%)  
hsl(337, 80%, 57%)  
hsl(337, 100%, 57%)  

#ea387c Color Usage In CSS

 body {
    color: #ea387c;
    }
 p {
    color: rgb(234, 56, 124);
    }
 header {
    border-bottom:1px solid #ea387c;
    }
Recent Random Colors