Added method to extract score from colors array