Hex Color #d4af20

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

  • Hex Color #d4af20
  • RGB color: rgb(212,175,32)

Background color #d4af20

#d4af20
rgb(212,175,32)

Background color #d4af20 with opacity 0.5

#d4af20
opacity:0.5
rgb(212,175,32,0.5)

How to use #d4af20 color code in CSS stylesheet

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

color: #d4af20;
background-color: #d4af20;
background-color: rgb(212,175,32);

#d4af20 CSS codes

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

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

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

Now copy the code below to your CSS file:

.d4af20 {color:#d4af20;}

You will get this result: #d4af20

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

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

You will get this result:

#d4af20

More examples using #d4af20 CSS classes

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

#d4af20 CSS codes using !important

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

#d4af20 is the same as RGB color (212,175,32)

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

Comments on color #d4af20

Similar Colors

Here are colors that are similar to #d4af20

Random Colors

Click on any hex color value to get more info.

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