Hex Color #2980b9

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

  • Hex Color #2980b9
  • RGB color: rgb(41,128,185)

Background color #2980b9

#2980b9
rgb(41,128,185)

Background color #2980b9 with opacity 0.5

#2980b9
opacity:0.5
rgb(41,128,185,0.5)

How to use #2980b9 color code in CSS stylesheet

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

color: #2980b9;
background-color: #2980b9;
background-color: rgb(41,128,185);

#2980b9 CSS codes

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

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

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

Now copy the code below to your CSS file:

.2980b9 {color:#2980b9;}

You will get this result: #2980b9

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

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

You will get this result:

#2980b9

More examples using #2980b9 CSS classes

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

#2980b9 CSS codes using !important

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

#2980b9 is the same as RGB color (41,128,185)

41,128,185 RGB color code is the same color as #2980b9 hex color code and can be used in css as such: rgb(41,128,185).

Comments on color #2980b9

Similar Colors

Here are colors that are similar to #2980b9

Random Colors

Click on any hex color value to get more info.

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