Fixed color key changes in OpenCV 3

In OpenCV 2, the keys for the color dictionary are prefixed with
`cv_`.  This prefix was changed to `color_` in OpenCV 3, which
means we now have to test for both of them.