Hex Color #520c11

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

  • Hex Color #520c11
  • RGB color: rgb(82,12,17)

Background color #520c11

#520c11
rgb(82,12,17)

Background color #520c11 with opacity 0.5

#520c11
opacity:0.5
rgb(82,12,17,0.5)

How to use #520c11 color code in CSS stylesheet

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

color: #520c11;
background-color: #520c11;
background-color: rgb(82,12,17);

#520c11 CSS codes

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

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

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

Now copy the code below to your CSS file:

.520c11 {color:#520c11;}

You will get this result: #520c11

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

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

You will get this result:

#520c11

More examples using #520c11 CSS classes

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

#520c11 CSS codes using !important

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

#520c11 is the same as RGB color (82,12,17)

82,12,17 RGB color code is the same color as #520c11 hex color code and can be used in css as such: rgb(82,12,17).

Comments on color #520c11

Similar Colors

Here are colors that are similar to #520c11

Random Colors

Click on any hex color value to get more info.

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