The number of colors should be reduced to less than 256.
Remove a needless import statement.
The constructor of "RGB" requires three values: red, green and blue.
Traverse nodes of "PixelOctree" in post-order.