Hex Color #3498c4

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

  • Hex Color #3498c4
  • RGB color: rgb(52,152,196)

Background color #3498c4

#3498c4
rgb(52,152,196)

Background color #3498c4 with opacity 0.5

#3498c4
opacity:0.5
rgb(52,152,196,0.5)

How to use #3498c4 color code in CSS stylesheet

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

color: #3498c4;
background-color: #3498c4;
background-color: rgb(52,152,196);

#3498c4 CSS codes

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

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

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

Now copy the code below to your CSS file:

.3498c4 {color:#3498c4;}

You will get this result: #3498c4

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

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

You will get this result:

#3498c4

More examples using #3498c4 CSS classes

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

#3498c4 CSS codes using !important

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

#3498c4 is the same as RGB color (52,152,196)

52,152,196 RGB color code is the same color as #3498c4 hex color code and can be used in css as such: rgb(52,152,196).

Comments on color #3498c4

Similar Colors

Here are colors that are similar to #3498c4

Random Colors

Click on any hex color value to get more info.

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