Code Structure Changes

- Make use of extend for common functions
- Changed sheets to accept sRGB if it is valid, even if not in Colors
sheet