Hex Color #d4af37

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

  • Hex Color #d4af37
  • RGB color: rgb(212,175,55)

Background color #d4af37

#d4af37
rgb(212,175,55)

Background color #d4af37 with opacity 0.5

#d4af37
opacity:0.5
rgb(212,175,55,0.5)

How to use #d4af37 color code in CSS stylesheet

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

color: #d4af37;
background-color: #d4af37;
background-color: rgb(212,175,55);

#d4af37 CSS codes

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

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

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

Now copy the code below to your CSS file:

.d4af37 {color:#d4af37;}

You will get this result: #d4af37

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

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

You will get this result:

#d4af37

More examples using #d4af37 CSS classes

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

#d4af37 CSS codes using !important

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

#d4af37 is the same as RGB color (212,175,55)

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

Comments on color #d4af37

Similar Colors

Here are colors that are similar to #d4af37

Random Colors

Click on any hex color value to get more info.

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