You might remember the meaning of the character 虹 with this easy mnemonic:
Insects (虫) love to gather around rainbows so I have to work (工) hard to keep out from my garden.
Using mnemonics to remember the meaning of Chinese characters like has a huge impact on how long to learn Mandarin it takes.