Hex Color #9f4ead

Information about #9f4ead hex color code is provided on this page.

  • Hex Color #9f4ead
  • RGB color: rgb(159,78,173)

Background color #9f4ead

#9f4ead
rgb(159,78,173)

Background color #9f4ead with opacity 0.5

#9f4ead
opacity:0.5
rgb(159,78,173,0.5)

How to use #9f4ead color code in CSS stylesheet

You can color any HTML element with #9f4ead hex color using the examples below.

color: #9f4ead;
background-color: #9f4ead;
background-color: rgb(159,78,173);

#9f4ead CSS codes

You can use CSS classes to color any HTML element with #9f4ead hex color.

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

<div class='9f4ead'>
Copy this div element to your HTML file
</div>

Now copy the code below to your CSS file:

.9f4ead {color:#9f4ead;}

You will get this result: #9f4ead

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

.9f4ead {background-color:#9f4ead; padding:10px;}

You will get this result:

#9f4ead

More examples using #9f4ead CSS classes

.bg-color-9f4ead {background-color:#9f4ead;}
.hex-color-9f4ead {color:#9f4ead;}
.border-color-9f4ead {border:1px solid #9f4ead;}

#9f4ead CSS codes using !important

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

#9f4ead is the same as RGB color (159,78,173)

159,78,173 RGB color code is the same color as #9f4ead hex color code and can be used in css as such: rgb(159,78,173).

Comments on color #9f4ead

Similar Colors

Here are colors that are similar to #9f4ead

Random Colors

Click on any hex color value to get more info.

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