How to add a background color to any UI element

1 min. read

Not all UI elements have a background color property so here is a quick way to add it to any element (or part of element):

  1. Add a Rectangle element and make it borderless from the Property Inspector
  2. Set the background color to the desired one
  3. Set its opacity to 25%
  4. Move and resize the rectangle to overlay your other element (Data Grid in this case)
  5. Group the UI elements together

figure>

You can also set up a border color the same way if needed.

Author

Peldi Guilizzoni
Peldi Guilizzoni

Founder and Product Designer @ Balsamiq

Questions or feedback? Email peldi@balsamiq.com.

Related articles


How to add a blank row to a combobox or menu element

A neat trick to add a blank row to two common Balsamiq UI elements.

How to keep form labels aligned

A neat trick to keep labels in Balsamiq wireframes aligned even after editing them.

Hold ALT to select layered UI elements

Speed up your Balsamiq selection skills with this neat trick.


Other topics you might be interested in

Our monthly emails will make you better at your job

Get our inside stories on product design, making things people love, and running a business built to last. Delivered once a month to your inbox.