Rename "colour.to_ndarray" definition to "colour.as_array".