Allows RGB values to be validated

The tests pass this is good to go

merges https://github.com/pro-grid/pro-grid-client/pull/5