Hex Color #4828b5

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

  • Hex Color #4828b5
  • RGB color: rgb(72,40,181)

Background color #4828b5

#4828b5
rgb(72,40,181)

Background color #4828b5 with opacity 0.5

#4828b5
opacity:0.5
rgb(72,40,181,0.5)

How to use #4828b5 color code in CSS stylesheet

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

color: #4828b5;
background-color: #4828b5;
background-color: rgb(72,40,181);

#4828b5 CSS codes

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

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

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

Now copy the code below to your CSS file:

.4828b5 {color:#4828b5;}

You will get this result: #4828b5

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

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

You will get this result:

#4828b5

More examples using #4828b5 CSS classes

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

#4828b5 CSS codes using !important

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

#4828b5 is the same as RGB color (72,40,181)

72,40,181 RGB color code is the same color as #4828b5 hex color code and can be used in css as such: rgb(72,40,181).

Comments on color #4828b5

Similar Colors

Here are colors that are similar to #4828b5

Random Colors

Click on any hex color value to get more info.

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