Hex Color #d4af41

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

  • Hex Color #d4af41
  • RGB color: rgb(212,175,65)

Background color #d4af41

#d4af41
rgb(212,175,65)

Background color #d4af41 with opacity 0.5

#d4af41
opacity:0.5
rgb(212,175,65,0.5)

How to use #d4af41 color code in CSS stylesheet

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

color: #d4af41;
background-color: #d4af41;
background-color: rgb(212,175,65);

#d4af41 CSS codes

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

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

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

Now copy the code below to your CSS file:

.d4af41 {color:#d4af41;}

You will get this result: #d4af41

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

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

You will get this result:

#d4af41

More examples using #d4af41 CSS classes

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

#d4af41 CSS codes using !important

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

#d4af41 is the same as RGB color (212,175,65)

212,175,65 RGB color code is the same color as #d4af41 hex color code and can be used in css as such: rgb(212,175,65).

Comments on color #d4af41

Similar Colors

Here are colors that are similar to #d4af41

Random Colors

Click on any hex color value to get more info.

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