Hex Color #8e44ad

Information about #8e44ad hex color code is provided on this page.

  • Hex Color #8e44ad
  • RGB color: rgb(142,68,173)

Background color #8e44ad

#8e44ad
rgb(142,68,173)

Background color #8e44ad with opacity 0.5

#8e44ad
opacity:0.5
rgb(142,68,173,0.5)

How to use #8e44ad color code in CSS stylesheet

You can color any HTML element with #8e44ad hex color using the examples below.

color: #8e44ad;
background-color: #8e44ad;
background-color: rgb(142,68,173);

#8e44ad CSS codes

You can use CSS classes to color any HTML element with #8e44ad hex color.

To change the color of the element, add the css class 8e44ad to any HTML element, such as a div, like in the example below:

<div class='8e44ad'>
Copy this div element to your HTML file
</div>

Now copy the code below to your CSS file:

.8e44ad {color:#8e44ad;}

You will get this result: #8e44ad

Alternatively, you can change the background color of the element, by using this CSS code:

.8e44ad {background-color:#8e44ad; padding:10px;}

You will get this result:

#8e44ad

More examples using #8e44ad CSS classes

.bg-color-8e44ad {background-color:#8e44ad;}
.hex-color-8e44ad {color:#8e44ad;}
.border-color-8e44ad {border:1px solid #8e44ad;}

#8e44ad CSS codes using !important

.bg-color {background-color:#8e44ad !important;}
.hex-color {color:#8e44ad !important;}
.border-color {border:1px solid #8e44ad !important;}

#8e44ad is the same as RGB color (142,68,173)

142,68,173 RGB color code is the same color as #8e44ad hex color code and can be used in css as such: rgb(142,68,173).

Comments on color #8e44ad

Similar Colors

Here are colors that are similar to #8e44ad

Random Colors

Click on any hex color value to get more info.

The information presented on this page is about #8e44ad web color code. For information about different color codes visit gethexcolor.com