Match regexp for rgb