Hex Color #b40d8b

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

  • Hex Color #b40d8b
  • RGB color: rgb(180,13,139)

Background color #b40d8b

#b40d8b
rgb(180,13,139)

Background color #b40d8b with opacity 0.5

#b40d8b
opacity:0.5
rgb(180,13,139,0.5)

How to use #b40d8b color code in CSS stylesheet

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

color: #b40d8b;
background-color: #b40d8b;
background-color: rgb(180,13,139);

#b40d8b CSS codes

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

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

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

Now copy the code below to your CSS file:

.b40d8b {color:#b40d8b;}

You will get this result: #b40d8b

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

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

You will get this result:

#b40d8b

More examples using #b40d8b CSS classes

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

#b40d8b CSS codes using !important

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

#b40d8b is the same as RGB color (180,13,139)

180,13,139 RGB color code is the same color as #b40d8b hex color code and can be used in css as such: rgb(180,13,139).

Comments on color #b40d8b

Similar Colors

Here are colors that are similar to #b40d8b

Random Colors

Click on any hex color value to get more info.

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