Hex Color #ffffff

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

  • Hex Color #ffffff
  • RGB color: rgb(255,255,255)
  • Short hex code #fff

Background color #ffffff

#ffffff
rgb(255,255,255)

Background color #ffffff with opacity 0.5

#ffffff
opacity:0.5
rgb(255,255,255,0.5)

How to use #ffffff color code in CSS stylesheet

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

color: #ffffff;
background-color: #ffffff;
background-color: rgb(255,255,255);

#ffffff CSS codes

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

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

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

Now copy the code below to your CSS file:

.ffffff {color:#ffffff;}

You will get this result: #ffffff

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

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

You will get this result:

#ffffff

More examples using #ffffff CSS classes

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

#ffffff CSS codes using !important

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

#ffffff is the same as RGB color (255,255,255)

255,255,255 RGB color code is the same color as #ffffff hex color code and can be used in css as such: rgb(255,255,255).

The short color code for #ffffff hex code is #fff

Comments on color #ffffff

Similar Colors

Here are colors that are similar to #ffffff

Random Colors

Click on any hex color value to get more info.

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