Revert "don't support RGB colorspace"

This reverts commit 34c027fb020dbd43aeec90ad5cf47be1729b35f9.