Select every object like the one you picked
Select every object with the same colour, class or type as one you click, by ticking what must match in Select Similar Preferences.
How-toIntermediate3 minTool: Select Similar (Basic)
Select Similar selects the objects that match one you click. What counts as a match is set in Select Similar Preferences. Out of the box, objects match when they are the same kind and class, so every rectangle would be picked. Tick Fill foreground colour as well, and only the rectangles with the same colour are picked.
Steps
Choose the Select Similar tool from the Basic tool set.
Click the Tool preferences button in the Mode bar, the small icon after Current Selection. The Select Similar Preferences dialog opens.
Tick Fill foreground colour under Fill attributes. Leave Object type and Class ticked, so that only rectangles in the same class are picked. Click OK.

Click one of the orange rectangles. Every object that matches it is selected: here, the two other orange rectangles. The yellow and teal rectangles are not.

Tips
- The Edit › Select Similar command uses the same preferences: it adds the objects like the ones already selected.
- The preferences are kept in this browser, so the next time you use the tool they are still ticked. Untick them to go back to selecting by type and class.
- To select by a written test, such as an area or a width, use Select objects by a written query.