Use a colour to identify an object already on display, then select the article and adjective ending for its role in the sentence.
To identify a particular red table, say der rote Tisch. rot is the colour red. With masculine der in a subject, use adjective -e: Der rote Tisch ist klein; Der große Garten ist teuer. Compare the earlier ein kleiner Tisch: der already marks the masculine subject, so the adjective uses -e, not -er. der roter Tisch mixes the two patterns.
blau is the colour blue. After feminine die, use adjective -e: Die blaue Tasche ist groß; Ich möchte die kleine Tasche. This form works for a subject or an accusative object. die blauen Tasche has the wrong ending for this singular phrase. Keep the adjective before the noun whose colour or size identifies it.
After neuter das, use -e, too: Das rote Buch ist billig; Ich möchte das große Zimmer. Both subject and accusative object use this form. Compare earlier ein rotes Buch with das rote Buch; das rotes Buch incorrectly keeps the indefinite-pattern ending.
For an identified masculine accusative object, use den plus adjective -en: Ich möchte den roten Tisch; Ich sehe den großen Garten. Compare subject der rote Tisch with object den roten Tisch. Both the article and adjective change; den rote Tisch leaves the adjective in the wrong form.