Some code to generate wrappers for the colors structs automatically.
Add some of the functionality from `primitives`